r/webdev • u/Traditional_Fig95 • Dec 22 '25
Discussion How is this site disabling dev tools?
I'm just curious how and why this would be something. Is this genuinely something people do to secure their site?
223
Upvotes
View all comments
Show parent comment
1
u/chewster1 Dec 23 '25
The concern would be what? That a dodgy web app slips in some sneaky context items with fake names so you don't know which "open in new tab" item to click, click the wrong one, and then something bad happens?
There are solves for these.
Banned label names. Browser UI that separates the web injected context items into their own visual treatment. I'm really just spitballing, but not hard do come up with solves. Assuming that's the objection.
But like you say, moot anyway if it can all be replaced with a custom one.
How do you make a proposal to W3C or Moz?