• caglararli@hotmail.com
  • 05386281520

How to use the web developer console when sites detect its use?

Çağlar Arlı      -    9 Views

How to use the web developer console when sites detect its use?

There are JavaScript libraries (such as dev-tools-monitor, devtools-detector, devtools-detect and others) that detect when the developer console is open. Are there also ways to better hide the dev-tools such that they are no longer detectable?

I had a problem with one of these libraries when I wanted to inspect a suspicious popup and it closed itself every time I opened the developer console. While it might be possible to insert JavaScript code as userscript, I don't know a way to monitor network requests in the browser without opening the developer tools. And in the end, one shouldn't have to use many workarounds, but rather have an undetectable tool to look at browser internals without sites detecting it.

I tried having a detached console open before loading the page and when the page still detected the console I tried changing the URL with JavaScript from a blank page to the target page and it was still detected. On one try I got a (wrong) redirect instead of a closed window with one of the library names of a library that combines several detected techniques showing that the page is actively avoiding debugging tools.