Skip to content

Commit b6f6d25

Browse files
Create DisablingMouse.js
1 parent a17fafc commit b6f6d25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DisablingMouse.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
document.addEventListener('contextmenu', function(e){
2+
e.preventDefault();
3+
});

0 commit comments

Comments
 (0)