禁调试网页

By | 2023-09-01

禁调试网页

只要在页面中加入这端代码

<script type="text/javascript" async="" src="data:text/javascript;base64,d2luZG93Lm5vdEFsbG93RGVidWdnZXI9ZnVuY3Rpb24gbm90QWxsb3coKXtkZWJ1Z2dlcjt9O3NldEludGVydmFsKGZ1bmN0aW9uKCl7bGV0IHRpbWUxPURhdGUubm93KCk7bm90QWxsb3dEZWJ1Z2dlcigpO2xldCB0aW1lMj1EYXRlLm5vdygpO2lmKHRpbWUyLXRpbWUxPj0xMDApe3dpbmRvdy5sb2NhdGlvbi5ocmVmPSJhYm91dDpibGFuayI7fX0sMTAwMCk="></script>

按F12可以看到效果如下:

调试暂停