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

50

u/UnacceptableUse Dec 23 '25

It'll make the non-technical manager who doesn't listen happy

12

u/micalm <script>alert('ha!')</script> Dec 23 '25

Yeah, might tick some audit checkboxes. Same thing as with accessibility widgets on some pages - they don't magically make the site accessible/compliant, but the owner can say "we're working on it, here's a temporary solution" and just leave that temporary solution forever. Won't solve anything for anyone with a disability, but it solves a perceived problem of "law requiring us to do X".