Javascript that detects Firebug?

前端 未结 7 1930
抹茶落季
抹茶落季 2020-11-27 12:47

What\'s a surefire way of detecting whether a user has Firebug enabled?

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 13:20

    If firebug is enabled, window.console will not be undefined. console.firebug will return the version number.

提交回复
热议问题