Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
前端这种不让别人使用 devtools 调试是如何做到的?
zjsxwc
·
zjsxwc
·
Dec 20, 2018
· 2366 views
This topic created in 2874 days ago, the information mentioned may be changed or developed.
http://www.nicetool.net/app/wangsicong.html
我想打开浏览器 devtools 改下这个页面的 html,但是貌似改不了,他是怎么做到的?有什么黑魔法?
devtools
HTML
做到
调试
3 replies
RH
Dec 20, 2018
1
会一直调用 console.clear 方法吧
zjsxwc
OP
Dec 20, 2018
2
结贴:
油猴脚本 加一句
```
devtoolsDetector = function () {}
```
就可以破解
vishva
Dec 20, 2018
3
日志级别改一下,屏蔽掉输出,简单粗暴.以上
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1565 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms ·
UTC 23:05
·
PVG 07:05
·
LAX 15:05
·
JFK 18:05
♥ Do have faith in what you're doing.
❯