mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-11 07:19:17 +00:00
Updated files
This commit is contained in:
9
tools/website/js/script.js
Normal file
9
tools/website/js/script.js
Normal file
@ -0,0 +1,9 @@
|
||||
if (document.addEventListener) {
|
||||
document.addEventListener('contextmenu', function (e) {
|
||||
e.preventDefault();
|
||||
}, false);
|
||||
} else {
|
||||
document.attachEvent('oncontextmenu', function () {
|
||||
window.event.returnValue = false;
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user