feat: index.html
This commit is contained in:
parent
04d2a4ff87
commit
a9c7c43bd9
@ -42,6 +42,15 @@ disableDevtool();
|
|||||||
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool/disable-devtool.min.js'></script>
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool/disable-devtool.min.js'></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
或者通过版本引用:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!--使用指定版本-->
|
||||||
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool@x.x.x/disable-devtool.min.js'></script>
|
||||||
|
<!--使用最新版本-->
|
||||||
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool@latest/disable-devtool.min.js'></script>
|
||||||
|
```
|
||||||
|
|
||||||
## 2.功能
|
## 2.功能
|
||||||
|
|
||||||
disable-devtool 可以禁用所有一切可以进入开发者工具的方法,防止通过开发者工具进行的 ‘代码搬运’
|
disable-devtool 可以禁用所有一切可以进入开发者工具的方法,防止通过开发者工具进行的 ‘代码搬运’
|
||||||
|
@ -41,6 +41,15 @@ disableDevtool();
|
|||||||
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool/disable-devtool.min.js'></script>
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool/disable-devtool.min.js'></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or use cdn with version:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!--Use a specific version-->
|
||||||
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool@x.x.x/disable-devtool.min.js'></script>
|
||||||
|
<!--Use latest version-->
|
||||||
|
<script id='disable-devtool' src='https://cdn.jsdelivr.net/npm/disable-devtool@latest/disable-devtool.min.js'></script>
|
||||||
|
```
|
||||||
|
|
||||||
## 2. Function
|
## 2. Function
|
||||||
|
|
||||||
disable-devtool can disable all the methods that can enter the developer tools to prevent ‘code handling’ through the developer tools
|
disable-devtool can disable all the methods that can enter the developer tools to prevent ‘code handling’ through the developer tools
|
||||||
|
@ -168,7 +168,7 @@ disableDevtool(options);</code></p>
|
|||||||
// The parameters are the same as in 3.1
|
// The parameters are the same as in 3.1
|
||||||
})
|
})
|
||||||
</script></code></p>
|
</script></code></p>
|
||||||
<script id='disable-devtool' md5='1aabac6d068eef6a7bad3fdf50a05cc8' src='https://cdn.jsdelivr.net/npm/disable-devtool/disable-devtool.min.js'></script>
|
<script id='disable-devtool' md5='1aabac6d068eef6a7bad3fdf50a05cc8' src='https://cdn.jsdelivr.net/npm/disable-devtool@latest/disable-devtool.min.js'></script>
|
||||||
<!-- <script id='disable-devtool' md5='1aabac6d068eef6a7bad3fdf50a05cc8' src='./npm/disable-devtool.min.js'></script> -->
|
<!-- <script id='disable-devtool' md5='1aabac6d068eef6a7bad3fdf50a05cc8' src='./npm/disable-devtool.min.js'></script> -->
|
||||||
<script>
|
<script>
|
||||||
function setText(text){
|
function setText(text){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user