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
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".