How can I disable firebug using Javascript? I want to do this to hide the workings of my webpage from visitors. Is there any option to do this?
Asked
Active
Viewed 1,722 times
0
-
2But your visitors will still be able to do http://your.website.user/scripts/yourawesomescript.js ? – rene Jul 28 '12 at 09:40
-
2You can't hide your workings. So do those working properly so that there is nothing to be ashamed of :-) – Darin Dimitrov Jul 28 '12 at 09:41
3 Answers
9
You can't. The best you can do is obfuscate your JavaScript.
Actually scratch that. The best you can do is move all the security-critical code to the server. You should be doing that anyway.

Amadan
- 191,408
- 23
- 240
- 301
1
You can't do it. Check this stackoverflow question on different methods others have adopted as a work around of sorts

Community
- 1
- 1

Jibi Abraham
- 4,636
- 2
- 31
- 60
1
As Amadan said, you can't disable particular source-viewers.
But you can use a hack. It works only with viewers, that add them selves to the DOM. You just have to delete specified node. Did a look-around with Firebug Lite for Chrome. DON'T use this approach, only for fun :)

HeM01
- 111
- 5