Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They don’t. They just use “console.log”, you see it because you opened the console. It’s not like they know you’re there and then write a message.


Devtools can actually be detected to a certain extent - https://github.com/sindresorhus/devtools-detect


> Doesn't work if DevTools is undocked and will show false positive if you toggle any kind of sidebar.

This annoys me every time because I use Tree Style Tab, and a website tries to detect DevTools. See Samy Kamkar's website [0].

[0]: https://samy.pl/


Seems like this guy is just using a width a height difference to detect this. Also some ‘window.FireBug’ property, that doesn’t turn up much currently in chrome or ff console on Ubuntu


This entire project should be copied verbatim into browser bug trackers, imho.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: