We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb0b428 commit e2fc53eCopy full SHA for e2fc53e
fuckdevtools.js
@@ -0,0 +1,26 @@
1
+/*
2
+FuckDevTools.Js
3
+By @ghalbeyou on GitHub
4
+https://github.com/GhalbeYou
5
+---------------------------------------
6
+This is a simple script that will disable the developer tools in the browser.
7
+*/
8
+
9
+document.onkeydown = function(event) {
10
+ if (event.keyCode == 123) {
11
+ event.preventDefault();
12
+ alert("Devtools?");
13
+ location.replace("about:blank");
14
15
+ }
16
+ // if the user pressed the Control + Shift + I key
17
+ else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) {
18
19
20
21
22
+}
23
+document.oncontextmenu = function() {
24
25
26
0 commit comments