Question

Look:

Screenshot of Google identifying Firebug use!

Wow!

How can the webpage know I'm using firebug?

BTW I couldn't find out how to show the translucent add banner.

Was it helpful?

Solution

You can do:

if(window.console && window.console.firebug)
{
    alert("Firebug active!");
}

OTHER TIPS

This works not only from the Firebug console, but also from within the page:

if (document.getElementById('_firebugConsole'))
   alert("fire!");

Both answers will alert if the Firebug user has activated the Console panel. If users disable the Console panel, but leave the rest of Firebug up, the alerts will not fire (because Firebug does not inject the console object in that case).

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