Security
A new method to disable DevTools.
Download the file and put it in the root of your project.
In your HTML File, add the following code:
<script src="./fuckdevtools.js"></script>
Or, in nodejs web apps:
npm i @arashamini/fuckdevtools.js-main
and in your page:
useEffect(() => {
import('@arashamini/fuckdevtools.js-main')
}, [])
And it will be work.
To config, go to fuckdevtools.js and edit this section:
// The CONFIG:
var disable_right_click = /* If this was true, the user cannot right click and if they do, they see alert DevTools? */ true;
var disable_f12 = /* If this was true, users cannot do f12 */ true;
var disable_csi = /* if this was true, users cannot do control shift i */ true;
and change the boolean. true
or false
see issue #1
Apache License 2.0