Disable firebug in my website using javascript or jquery

786 views
Skip to first unread message

Prasad H P

unread,
Feb 8, 2015, 3:00:22 AM2/8/15
to fir...@googlegroups.com

Hi,

 i want to deactivate firebug lite tool like in chrome page as shown in the image which already have the functionality in browser itself  but i did not know how to call that default script in chrome browser using java script.(I need cross browser usage also).
         
 Just open a new tab in chrome and click on the firebug lite tool then you get the output as shown in image.I need the same functionality in my-site and i want know how its working thanks in advance. 

Sebastian Zartner

unread,
Feb 9, 2015, 5:28:09 AM2/9/15
to fir...@googlegroups.com
The shown message comes from Firebug Lite itself. It is not the page that prevents it from being opened.

If you want to prevent it from opening you may create a Mutation Observer and check when the element with the ID FirebugUI is added and remove it immediately.

Though note that people can still inspect your page with the built-in DevTools and there is no way to block them from within your website.
What is the reason you want to block Firebug Lite from being opened?

Sebastian
Reply all
Reply to author
Forward
0 new messages