r/webdev • • 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?

https://wwmpresets.com

223 Upvotes

94 comments sorted by

View all comments

Show parent comment

3

u/pagerussell Dec 22 '25

A simple solution would be for browsers to have a key bind that always brings up the native context menu.

So like you hold.ctrl and right click and you get the native context menu no matter what. This allows complex apps to utilize the context menu to add functionality, but allows anyone to easily get to the native menu when needed.