Disable firebug from mozilla and Chrome

Possible duplicate:
Is there a way to stop Firebug from working on a particular site?

Is it possible to disable firebug for all browsers using javascript, jquery, or php script. If yes, please describe how I can do this.

Thanks.

+4
source share
2 answers

No, you cannot, firebug is a browser extension, and you do not have access to the extension manager from js.

You can check if the console is active, since the fastest way is

if('console' in window) 
+3
source

you can detect firebug with

if (window.console && window.console.firebug) {// Firebug enabled}

Javascript that detects Firebug?

but you cannot disable firebug from the browser through your file

+1
source

Source: https://habr.com/ru/post/1387368/


All Articles