Skip to content

Commit c11336a

Browse files
authored
Disable right click in modern browsers
1 parent 5771065 commit c11336a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/disable_right_click.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
document.oncontextmenu = new Function("return false");

0 commit comments

Comments
 (0)