Question

While developing a logging tool for websites, especially for javascript code I need to know if the Developement Tools (IE: Developer Tools, Chrome: F12, Firefox: Firebug etc.) are open.

Until know the only possibily I have found in my research was to get it in IE10 by asking for

window.__IE_DEVTOOLBAR_CONSOLE_COMMAND_LINE

Are there any variables or functions which can be called in Chrome, Firefox (and Opera) to get the status of the browsers Developent Tools.

I know there is the console object but this object does not tell me if the DevTools are open or closed.

Was it helpful?

Solution

You might find this other SO thread useful: Find out whether Chrome console is open

There is some good information about both Firefox and Chrome in there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top