Disabling inspect element, right click and F12 in google chrome

后端 未结 1 1221
逝去的感伤
逝去的感伤 2020-12-08 23:41

Is there a way to disable inspect element, right click and F12 in google chrome?

相关标签:
1条回答
  • 2020-12-09 00:05

    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.

    0 讨论(0)
提交回复
热议问题