禁用检查元素,在Google Chrome浏览器中右键点击F12 [英] Disabling inspect element, right click and F12 in google chrome
问题描述
有没有办法在google chrome中禁用检查元素,右键点击和F12? 解决方案
即使您禁用右键点击并禁用 F12 的默认行为, Ctrl + Shift +我和 Ctrl + Shift + J 时,无法停止用户在其他页面上打开Dev Tools并使用已打开的Dev Tools导航到您的页面。
另外,您可以前往菜单>工具>开发人员工具访问开发工具,这是任何网站都无法阻止的。
Is there a way to disable inspect element, right click and F12 in google chrome?
This is definitely not possible to do from a web page.
Even if you disable right click and disable the default behaviors for F12, Ctrl+Shift+I, and Ctrl+Shift+J, there is no way to stop a user from opening Dev Tools on a different page and navigating to your page with Dev Tools already open.
Also, you can access Dev Tools by going to Menu > Tools > Developer tools, which cannot be prevented by any website.
这篇关于禁用检查元素,在Google Chrome浏览器中右键点击F12的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!