Using console.log() with firebug works locally, but not when published to my live site

后端 未结 3 1840
梦毁少年i
梦毁少年i 2021-01-06 19:43

I\'m using the:

console.log()

method to log messages to firefox (3.6.6)/firebug while working on my webapp. When I view the app locally, it w

3条回答
  •  广开言路
    2021-01-06 20:31

    You can no longer detect for Firebug using !console.firebug.

    "The console API formerly implemented a console.firebug property. This property was removed from the API in Firebug 1.9.0 in order to prevent sites from detecting whether a user has Firebug installed."

    Console API help on Firebug wiki

提交回复
热议问题