您的位置:知蚁博客 » Firebug
  • +1

    Mozilla Firefox组件Firebug中直接运行JavaScipt代码

    2011-04-22 By  分类:互联网络 2,847人浏览

      今天浏览网页,无意中发现一句话“copying them to the Firebug console”,them是指js代码,如下: var x = “”; if ( x ) console.log(“x defaulted to true”); else console.log(“x defaulted to false”);   于是我复制下这段代码,打开火狐浏览器,再按F12打开Firebug,点击“控制台”,在控制台里的空白处右键单击,却什么反应都没有。...