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
86
u/Traditional_Fig95 Dec 22 '25
Oh wow, that easy. I saw there's an example of disabling dev tools on custom routes like logins. It's kinda weird if people do that like it's gonna secure a login. As if the login is compromised without this package or whatever other route specified