为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Javascript is enabled but Firefox is not displaying javascript windows.

  • 5 个回答
  • 101 人有此问题
  • 4 次查看
  • 最后回复者为 Consultan

more options

After clicking any link that will open a "Javascript window", the window is not opened/displayed. When I subsequently close firefox, I'll get a prompt that multiple tabs are open although that is not the case. The Firefox process remains active after I have closed the browser.

I created a clean profile (ran Firefox -p) to see if any of my plugins are causing the problem. I experienced the same problem using the "virgin profile".

After clicking any link that will open a "Javascript window", the window is not opened/displayed. When I subsequently close firefox, I'll get a prompt that multiple tabs are open although that is not the case. The Firefox process remains active after I have closed the browser. I created a clean profile (ran Firefox -p) to see if any of my plugins are causing the problem. I experienced the same problem using the "virgin profile".

被采纳的解决方案

Some programs install extension globally that Firefox install by default in a new profile.

Did you check that in the new profile (Tools > Add-ons > Extensions) ?

定位到答案原位置 👍 2

所有回复 (5)

more options

You can divert such JavaScript window.open() links to a new tab.
You can also open such links in the background.
You may have an extension that has changed such settings.

See http://kb.mozillazine.org/browser.link.open_newwindow.restriction

There are three prefs, accessible via the about:config page, to control the focus if you click a link.

browser.tabs.loadInBackground (normal links)
browser.tabs.loadDivertedInBackground (javascript)
browser.tabs.loadBookmarksInBackground (bookmarks and searchbar)


See also http://kb.mozillazine.org/about%3Aconfig_entries

more options

I verified that browser.link.open_newwindow.restriction" is set to 2 and browser.tabs.loadDivertedInBackground (javascript) is set to false. From what I read from the info you provided, those would be the right settings.

So the problem remains but your efforts are appreciated nevertheless ...

more options

选择的解决方案

Some programs install extension globally that Firefox install by default in a new profile.

Did you check that in the new profile (Tools > Add-ons > Extensions) ?

由cor-el于修改

more options

Yes I noticed some extensions that I did not install and I ass/u/me'd that they were not an issue. So I went back an checked on same and identified the culprits:

  • Java QuickStarter -- added by the JRE
  • Zone Toolbar -- add by the ZA security suite

Disabling these extensions took care of the problem. Thanks for your help ...

more options
      • Update ***

As it turns out, by solving this problem I also resolved another issue. After closing Firefox with multiple tabs open, the Firefox process remained active. I was unable to open Firefox until I terminated the active process. It didn't matter whether tabs were saved or not.

Disabling the Java QuickStarter and ZA Toolbar add-ons resolved this issue as well.