I'd like to disable access to devtools for certain cases. I found that passing the "--devtools-flags" flag as a launch arg prevents opening devtools via F12, right click -> inspect element, and ctrl+shft+I. Is this the correct way to disable devtool access?
I'd like to disable access to devtools for certain cases. I found that passing the "--devtools-flags" flag as a launch arg prevents opening devtools via F12, right click -> inspect element, and ctrl+shft+I. Is this the correct way to disable devtool access?
Example main.js: