alert()和console.log()在Firefox 26中不起作用 [英] alert() and console.log() not working in Firefox 26
问题描述
我觉得我疯了,但是 alert()
和 console.log()
拒绝工作 Firefox 26 上的任何地方。
起初我以为这是我自己的网站的问题,但我不能让我的生活通过 javascript:
urls, Firebug
,我甚至在 jsfiddle.net ,只需在脚本面板中输入 alert('test');
即可。
试图卸载并重新安装,没有运气。
我运行的唯一扩展是Firebug。
哎呀,当写这个的时候,偶然地点击了后退按钮,Stackoverflow甚至没有提示我离开。
另外,我确定 alert()
中有一些内容和 console.log()
我不工作的意思是Firefox将代码看作是不存在,没有任何反应。
再一次,这是我的环境:
浏览器: Firefox 26.0
操作系统: Windows 8.1 Pro
问题: < (), console.log()
,显然 prompt()
不如果有人可能知道为什么发生这种情况,我将非常感谢答复。
UPDATE
遵循Pointy的评论,似乎 alert() code>和
console.log()
在新标签页上按预期工作,但无处可见
感谢所有帮助的人,最后,我使用了Revo Uninstaller彻底绝对地将Firefox从系统中清除,然后再次安装。似乎现在正在工作,最初的卸载程序很可能不会消除导致问题的任何东西。
I feel like I'm going crazy but alert()
and console.log()
refuses to work anywhere on Firefox 26.
At first I thought it was my own website's problem, but I cannot for the life of me to get it to work via javascript:
urls, Firebug
, I even tried it in jsfiddle.net by just putting alert('test');
in the script panel.
Tried uninstalling and installing again, no luck.
The only extension I'm running is Firebug.
Heck, Stackoverflow didn't even prompt me about leaving when I accidentally clicked the back button while writing this.
Also yes, I made sure there was some content inside the alert()
and console.log()
What I mean by not working is that Firefox treats the code as if it were non-existent, nothing happens.
Once again, here's my environment:
Browser: Firefox 26.0
OS: Windows 8.1 Pro
Issue: alert()
, console.log()
, and apparently prompt()
doesn't work
If anyone might know why this is happening, I would highly appreciate an answer.
UPDATE
Following Pointy's comment, it appears that both alert()
and console.log()
work as expected on the New Tab Page, but nowhere else
Thanks for all the help guys, in the end I used Revo Uninstaller to completely and absolutely wipe Firefox from my system, then installed it again. Seems to be working now, the original uninstaller most likely didn't remove whatever was causing the problem.
这篇关于alert()和console.log()在Firefox 26中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!