Hacker News new | past | comments | ask | show | jobs | submit login

Is there an extension or workaround that prevents sites from knowing you opened devtools (without breaking everything else on the site)?



Disabling javascript breakpoints usually does the trick. Devtools detection is often done by having a `debugger;` statement somewhere and timing of it triggered


A lot of them dynamically generate new anonymous functions to get around this. Last I looked (~1 year ago I think) neither Chrome nor Firefox supported disabling the keyword completely. Do you know if that's changed?


On Firefox its in the Debugger Tab of the DevTools. On the top right you can deactivate all breakpoints (which includes the debugger statement).

There is a similar button on chrome, but I am not sure if that also applies to the debugger statement.


It might be harder to detect if you open it as a separate window instead of docking it to the bottom/side of the window.




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

Search: