Now that the devtool on this page has been disabled, use the ?ddtk=dd url parameter to un-disable (ddtk value is configurable)

πŸš€ Disable web developer tools with one line

stars forks version downloads jsdelivr issue

author license Size TopLang Dependent test

Github | δΈ­ζ–‡ζ–‡ζ‘£ | English Docs | Version Log | Message Board

Open source maintenance is not easy, if you have the financial means, you can donate the author for a cup of coffee

test test test

1. Quick use

1.1 npm reference

npm i disable-devtool

import disableDevtool from'disable-devtool'; disableDevtool();

1.2 script attribute configuration

<script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool'></script>

Or use cdn with version:

<!--Use a specific version--> <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool@x.x.x'></script> <!--Use latest version--> <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool@latest'></script>