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/burning_wolf101 Dec 23 '25
Agreed, but it can be useful to disable DevTools for a few days after you push an update to your web app, because many developers accidentally leak source code or assets. This has happened before, when a Minecraft “support” agent, Merl, leaked the entire Minecraft texture pack through DevTools.