Possible Duplicate:
Javascript that detects Firebug?
I tried the following code which did not work.
if(window.console && window.console.firebug)
{
alert("Firebug active!");
}
What is the right way to detect firebug on the client side when firebug is activated on a webpage using JavaScript or JQuery.