disable-devtool
disable-devtool copied to clipboard
Disable web developer tools from the f12 button, right-click and browser menu
用法是只改变了鼠标右键不禁用。 项目上线后时不时就有用户反应误触发了这个方法,明明没有打开控制台,页面点着点着就出现了,要么就是放久了没动,再重新回去操作就会出现。已知出现问题浏览器:Chrome105.0.5195.127、Edge92.0.902.78、360 操作系统:win7、win10
Normal google chrome devtools inst detected within all this detectors ` detectors: [0, 1, 3, 4, 5, 7],`
IE9加载JS报错错误如下: SCRIPT438:对象不支持“assign”属性或方法 disable-devtool,行1 字符15452
i can bypass it easy using ublock origin
I think it the best method to improve code quality, but the prerequisite is that you need sponsors. cracked by tampermonkey: https://github.com/theajack/disable-devtool/issues/101#issuecomment-2336606489