Find out whether Chrome console is open

I am using this little script to find out whether Firebug is open:

if (window.console && window.console.firebug) {
    //is open

And it works well. Now I was searching for half an hour to find a way to detect whether Google Chrome’s built-in web developer console is open, but I couldn’t find any hint.


if (window.console && {
    //is open

doesn’t work.


So it seems that it is not possible to detect whether the Chrome console is open. But there is a “hack” that works, with some drawbacks:

  • will not work when console is undocked
  • will not work when console is open on page load

So, I am gonna choose Unsigned´s answer for now, but if some1 comes up with a brilliant idea, he is welcome to still answer and I change the selected answer! Thanks!

125 thoughts on “Find out whether Chrome console is open”

  1. 690742 924243The Twitter application page will open. This really is very good if youve got some thousand followers, but as you get far more and more the usefulness of this tool is downgraded. 875885

  2. Vulkan Vegas looks like a professional casino with a lot to offer. At first glance, the platform seems quite simple; however, they genuinely go out of their way to produce some really cool

    Vulkan Vegas brings you a different take on the betting platforms you’ve become so accustomed to. This platform is fresh and exciting. What adds to the appeal is the riveting bonus

    vulkan vegas parhaat pelit

    From this Vulkan Vegas casino review, it’s evident that it has a lot to offer. Ranging from the vast assortment of games with new ones constantly being added to the fantastic