3 ms·
But there's different ways of opening dev tools. You can use the mouse to right click as well. In fact, when using keyboard shortcuts in the better these days,
by efreak 9y ago
But there's different ways of opening dev tools. You can use the mouse to right click as well.
In fact, when using keyboard shortcuts in the better these days, I have a habit of hitting alt+D first to get to the address bar first (Outlook likes to hijack browser shortcuts like Ctrl+n), in which case the website shouldn't know I'm pressing anything at all.
- bsimpson 9y agoI think OP's point is you can listen for a bunch of signals: If you see the right keydown events, or if you see a contextmenu followed by a rapid change to innerWidth, they probably opened dev tools, and you should delete your evil cookies. The person who figured this out probably opened them via menu and had dev tools in another window, so the evil folks couldn't detect the resize.