User2364902
User2364902

Reputation: 431

Disabling inspect element, right click and F12 in google chrome

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

Upvotes: 11

Views: 62419

Answers (2)

RollingInTheDeep
RollingInTheDeep

Reputation: 731

You can run chromium in a java environment. This I have seen, then its impossible to open developer tools, and settings etc are not accessable. But of course it would involve a lot more work and development time.

Upvotes: 0

apsillers
apsillers

Reputation: 115940

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.

Upvotes: 26

Related Questions