使用到的脚本是: [disable-devtool
](https://github.com/theajack/disable-devtool)
使用示例:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool'></script>
</head>
<body>
测试一下
<script>
import DisableDevtool from 'disable-devtool';
DisableDevtool();
</script>
</body>
</html>
本文由 GY 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为:
2023/08/24 11:31