disable inspector
/* It's possible, but this would block the following commands:
* Right Click (entirely!)
* F12
* Ctrl + Shift + I
* Ctrl + Shift + J
* Ctrl + Shift + C
* Ctrl + U
*/
// Right click
<body oncontextmenu="return false">
// Keys
document.onkeydown = function(e) {
if(event.keyCode == 123) {
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'I'.charCodeAt(0)) {
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'C'.charCodeAt(0)) {
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'J'.charCodeAt(0)) {
return false;
}
if(e.ctrlKey && e.keyCode == 'U'.charCodeAt(0)) {
return false;
}
}
Also in JavaScript:
- vue js Elements in iteration expect to have 'v-bind:key' directives
- advanced axios in react js using create and interceptor
- headroom js react
- convert json to arraylist java
- match ids from 2 arrays in javascript asynchronous programming
- adonis migration column char
- replace array element javascript stack overflow
- js remove the last character of a string
- javascript replace text within dom
- watch file in changes in webpack
- angular refresh component without reloading page
- ClassNotFoundException: com.fasterxml.jackson.core.JsonGenerator
- canvas set background color
- javascript smooth scroll to anchor element
- node require fs not found
- javascript collection processing methods
- formato json
- how to instance in a node with code godot
- javascript remove parameters from current url
- how to remove key value pair from object in javascript
- get filename from url js
- react not recognizing lorem
- javascript get domain
- aos initial configuration vue