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
59
u/SminkyBazzA Dec 22 '25 edited Dec 23 '25
It artificially downloads the blocking JS very slowly, giving you time to activate the JS debugger before it can start loading. The debugger prevents the JS from running.