Lurker News
Back to discussion

Comment by Workaccount2

Workaccount22 replies#
Is there an extension or workaround that prevents sites from knowing you opened devtools (without breaking everything else on the site)?
nadaviv#
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.
Boltgolt1 reply#
Disabling javascript breakpoints usually does the trick. Devtools detection is often done by having a `debugger;` statement somewhere and timing of it triggered
runlevel11 reply#
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?
tenplusfive#
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.