开发者

how to effectively disable console?

By disable I mean: when user enters the website with console already on, or turns on the console on the website, redirect the user to another page (or j开发者_如何转开发ust don't allow to keep the console on; though, I doubt that is possible).


Why do you think it's your decision if people may use their browser extensions or not? It's none of your business.

However, you can check if there is window.console. It might be set in some browsers even without a Firebug-like extension being active though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜