How can I disable firebug in my webpage?

后端 未结 3 1467
梦如初夏
梦如初夏 2021-01-27 13:08

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?

相关标签:
3条回答
  • 2021-01-27 13:21

    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.

    0 讨论(0)
  • 2021-01-27 13:25

    You can't do it. Check this stackoverflow question on different methods others have adopted as a work around of sorts

    0 讨论(0)
  • 2021-01-27 13:44

    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 :)

    0 讨论(0)
提交回复
热议问题