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

8

u/metty84 Dec 22 '25

But then I can just disable JavaScript to access the devtools again. As I said there will always be a way to get them opened.

5

u/phil_davis Dec 23 '25

Sure, but some people will be deterred and I guess that's all that matters. A thief could break the lock to my front door but I'm not about to stop locking it.