為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Links open in a new window instead of a new tab

  • 6 回覆
  • 10 有這個問題
  • 1 次檢視
  • 最近回覆由 hb1547

more options

Since updating to Firefox 42.0 this morning, links open in new windows instead of new tabs despite my settings. Not every link -- just links configured for a new window.

I have the option "Open new windows in a new tab instead" checked, and browser.link.open_newwindow in my about:config is set to 3. I tried Safe Mode and the problem still persists.

Any ideas?

Since updating to Firefox 42.0 this morning, links open in new windows instead of new tabs despite my settings. Not every link -- just links configured for a new window. I have the option "Open new windows in a new tab instead" checked, and browser.link.open_newwindow in my about:config is set to 3. I tried Safe Mode and the problem still persists. Any ideas?

所有回覆 (6)

more options

Does the browser.link.open_newwindow.restriction pref (JavaScript window.open()) has any effect?

Does the right-click context menu work properly?

Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) to see if that helps.


more options

My browser.link.open_newwindow.restriction is set to "2", which seems to be what I would expect. I tried checking Firefox in Windows Safe Mode and the problem still exists.

Middle-clicking on links/bookmarks still works, same with "open link in new tab". Opening links in new tabs via the context menu also works.

more options

I'm having this problem with window.open() without "features", which should by default be opened in a new tab. This test page demonstrates the problem:L

http://jeffersonscher.com/res/popit.html

Setting browser.link.open_newwindow.restriction = 0 forces everything to a tab (so now the third link works incorrectly). That may be less annoying on balance.

There was a change in Firefox 42 to check for "features" web pages shouldn't be allowed to use, but I don't understand the code well enough to know whether that change caused this problem, or there is something else going on. (https://hg.mozilla.org/integration/mo.../3e8d94c73096d71029b71cb1d1466d0fa9fd29d8#l4.186).

I filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1222879

more options

I've tested it in the current Firefox 43.0b1 version and there it works as expected, so this issue will be fixed in the next release.

more options

It seems that having dom.disable_window_open_feature.minimizable set to true causes this problem, and resetting it to the default value of false resolves it. I'm not sure whether i have always had this set to true or whether this was toggled somehow (I was experimenting with advanced configuration extensions and one of them changed a bunch of my settings recently).

more options

jscher2000 said

It seems that having dom.disable_window_open_feature.minimizable set to true causes this problem, and resetting it to the default value of false resolves it. I'm not sure whether i have always had this set to true or whether this was toggled somehow (I was experimenting with advanced configuration extensions and one of them changed a bunch of my settings recently).

I also have this value set to true. Great sleuthing!