Monday, 19 August 2013

Find out if Developer Console is active in the current webbrower (JavaScript)

Find out if Developer Console is active in the current webbrower (JavaScript)

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.

No comments:

Post a Comment