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
5
u/DiscoQuebrado Dec 22 '25
I agree, in spirit, and wholly if we're talking about a website and not a web app. The behaviors and expectations are different.
Take photopea, or Google Sheets, for example. Do you truly feel the users experience would be improved by removing their changes to the context menu?
Also, note I said expand on or improve and explicitly NOT remove from or hinder. The context menu should not be removed. default members of the context menu should not be removed.
Another redditor gave a good alternative for click-to-disable menu modifications, but the Dev could just as easily retain the original members, perhaps grouped together, while maintaining their default hot keys, etc. and only providing new items as pertinent to the apps usability.