Skip to content

Ghalbeyou/FuckDevTools.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FuckDevTools.Js

A new method to disable DevTools.

How to install?

Download the file and put it in the root of your project.

How to use?

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.

Config

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

How its going?

see issue #1

License

Apache License 2.0