【发布时间】:2011-08-25 16:43:27
【问题描述】:
当我开始使用 OpenLayers 时,console.log 停止工作,并且我在 chrome 终端中不断收到此错误。
GET http://127.0.0.1/my/private/dir/undefined/firebug.html 404 (Not Found)
起初我没有意识到它是 OL,所以我卸载了 firebug lite 插件。然后我检查了 OL 源代码,发现它试图注入 firebug 的位置。
y=document.createElement("iframe");y.setAttribute("src",o+"/firebug.html");
除了修改源代码之外,有没有办法阻止 OL 这样做。此外,它正在覆盖 window.console
【问题讨论】:
-
google chorme 会发生什么?
-
它尝试加载 firebug.html。另外,我很确定 window.console 正在被覆盖,这真的很烦人......
标签: javascript google-chrome firebug openlayers firebug-lite