Reputation: 4021
I'm looking for an argument to pass to Google Chrome to prevent users to press F12 and enter developer tools to perform Javascript injections (the app must be run from only 1 terminal). I've found this list but there isn't any mention of it. Does an argument like this exist?
Thank you.
Upvotes: 0
Views: 1171
Reputation: 177825
The only command line flag that disables the developer tools is --kiosk
, so you'd have to be willing to live with the other features that kiosk mode removes (which it sounds like you are). Otherwise you need to configure the policy.
Upvotes: 1