Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can the page know I'm analyzing it with firebug

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.

like image 516
OscarRyz Avatar asked Sep 30 '09 23:09

OscarRyz


2 Answers

You can do:

if(window.console && window.console.firebug)
{
    alert("Firebug active!");
}
like image 67
D'Arcy Rittich Avatar answered Oct 21 '22 03:10

D'Arcy Rittich


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

if (document.getElementById('_firebugConsole'))
   alert("fire!");
like image 43
sth Avatar answered Oct 21 '22 02:10

sth