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

搜索 | 用户支持

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

详细了解

My tabs still open in new window even after deselecting that option, how do I fix that?

  • 9 个回答
  • 6 人有此问题
  • 1 次查看
  • 最后回复者为 gllebou

more options

Each time I try to load a new tab in the same window, Firefox opens a new window. I have gone through the process of deselecting "open tabs in new window" but it is not working. I have also uninstalled and re-installed, but no difference.

Each time I try to load a new tab in the same window, Firefox opens a new window. I have gone through the process of deselecting "open tabs in new window" but it is not working. I have also uninstalled and re-installed, but no difference.

被采纳的解决方案

There are two common reasons for this problem:

(1) Site uses a script that launches the window, and it has parameters such as height and width, or restrictions such as no scroll bars. In these cases, Firefox assumes it is a dialog related to the page and always uses a new window. (There is an override for this I will mention later.)

(2) If the page you are viewing is in a dialog window, Firefox may not be willing to open ANY new tabs in that window. Usually in this case the tab bar is missing or the "+" button doesn't work. But if you open a new window using Ctrl+n then links should work normally.


To force even scripted popups into a tab, you can change a setting under the covers.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste link.o and pause while the list is filtered

(3) In this case, check out setting (B) to zero. The others are here for future reference:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*) 2 = allow link to open a new window (unchecked*) 1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows) 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default) 1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default) 3 = open external links in a new tab in the last active window 2 = open external links in a new window 1 = open external links in the last active tab replacing the current page

定位到答案原位置 👍 6

所有回复 (9)

more options

hello gllebou, could you go to the firefox menu ≡ > help ? > troubleshooting information, copy the contents of that page and paste them here into a reply on the forum? this might give us a clue what is going on...

more options

Application Basics


Name: Firefox Version: 34.0.5 User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Multiprocess Windows: 0/2

Crash Reports for the Last 3 Days


All Crash Reports

Extensions


Name: ToolbarBrowser Version: 1.3.5.1 Enabled: true ID: {2e710e6b-5e9d-44ba-8f4e-09a040978b49}

Graphics


Adapter Description: Intel(R) HD Graphics Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32 Adapter RAM: Unknown Device ID: 0x0f31 Direct2D Enabled: true DirectWrite Enabled: true (6.2.9200.16581) Driver Date: 11-18-2013 Driver Version: 10.18.10.3355 GPU #2 Active: false GPU Accelerated Windows: 2/2 Direct3D 11 (OMTC) Subsys ID: 14dd1043 Vendor ID: 0x8086 WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: true AzureCanvasBackend: direct2d AzureContentBackend: direct2d AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0

Important Modified Preferences


browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.link.open_newwindow: 2 browser.places.smartBookmarksVersion: 7 browser.sessionstore.restore_on_demand: false browser.sessionstore.upgradeBackup.latestBuildID: 20141126041045 browser.startup.homepage_override.buildID: 20141126041045 browser.startup.homepage_override.mstone: 34.0.5 browser.tabs.warnOnClose: false browser.tabs.warnOnOpen: false dom.mozApps.used: true extensions.lastAppVersion: 34.0.5 gfx.direct3d.last_used_feature_level_idx: 0 media.gmp-gmpopenh264.lastUpdate: 1417215283 media.gmp-gmpopenh264.version: 1.1 media.gmp-manager.lastCheck: 1418080388 network.cookie.prefsMigrated: true places.database.lastMaintenance: 1418080390 places.history.expiration.transient_current_max_pages: 103993 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1417215533

Important Locked Preferences


JavaScript


Incremental GC: true

Accessibility


Activated: false Prevent Accessibility: 0

Library Versions


NSPR Expected minimum version: 4.10.7 Version in use: 4.10.7

NSS Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.2 Basic ECC

NSSSMIME Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.2 Basic ECC

NSSSSL Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.2 Basic ECC

NSSUTIL Expected minimum version: 3.17.2 Version in use: 3.17.2

Experimental Features


more options

can you enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named browser.link.open_newwindow - right-click and reset that entry to the default value...

more options

On the Tabs panel of the Options dialog, there is a setting for how Firefox should handle links that are coded to open in a new window: divert them to a tab or let them open in a new window. You can check that setting here:

"3-bar" menu button (or Tools menu) > Options > Tabs

Check the box for "Open new windows in a new tab instead"

Is that what you meant?

If not, could you describe the type of link or bookmarks that is causing the problem, for example:

  • Click a link on this page
  • Click a link in search engine results
  • Use a bookmark
  • Click a link in an application outside Firefox
more options

Did not work. Still opening a new window.

more options

Regardless if I check or "uncheck" -Open new windows in a new tab instead- I still get new windows. I would like to get tabs instead.

more options

选择的解决方案

There are two common reasons for this problem:

(1) Site uses a script that launches the window, and it has parameters such as height and width, or restrictions such as no scroll bars. In these cases, Firefox assumes it is a dialog related to the page and always uses a new window. (There is an override for this I will mention later.)

(2) If the page you are viewing is in a dialog window, Firefox may not be willing to open ANY new tabs in that window. Usually in this case the tab bar is missing or the "+" button doesn't work. But if you open a new window using Ctrl+n then links should work normally.


To force even scripted popups into a tab, you can change a setting under the covers.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste link.o and pause while the list is filtered

(3) In this case, check out setting (B) to zero. The others are here for future reference:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*) 2 = allow link to open a new window (unchecked*) 1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows) 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default) 1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default) 3 = open external links in a new tab in the last active window 2 = open external links in a new window 1 = open external links in the last active tab replacing the current page

more options

See:

For links opened via JavaScript you can look at this pref:

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

由cor-el于修改

more options

Thanks a lot! I've got TABS! :)