Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

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

详细了解

Prevent Firefox from opening external link in current tab

  • 1 个回答
  • 0 人有此问题
  • 5 次查看
  • 最后回复者为 cor-el

more options

Hello,

Firefox is currently opening external link in the current tab, without any possibility to go back. For example, whenever I follow a link from a program (e.g. a pdf reader), when I press F1 in LibreOffice etc., the page being opened in Firefox will replace the current tab (and the history for that tab will be disabled).

'This is a problem for several reasons': 1. One can't go back to the current since it's gone from the "go back one page". 2. If I am doing something in the tab, everything will automatically disappear, without any warning. 3. Since the current page will disappear completely, it can be tricky to know what tab content is being "overwritten".

Thank you in advance! Regards

Hello, Firefox is currently opening external link in the current tab, without any possibility to go back. For example, whenever I follow a link from a program (e.g. a pdf reader), when I press F1 in LibreOffice etc., the page being opened in Firefox will replace the current tab (and the history for that tab will be disabled). 'This is a problem for several reasons': 1. One can't go back to the current since it's gone from the "go back one page". 2. If I am doing something in the tab, everything will automatically disappear, without any warning. 3. Since the current page will disappear completely, it can be tricky to know what tab content is being "overwritten". Thank you in advance! Regards

所有回复 (1)

more options

There is the browser.link.open_newwindow.override.external pref available on the about:config page that sets the default behavior where external links open.

You can override how external links are opened via the browser.link.open_newwindow.override.external pref. If this pref has the default value -1 then browser.link.open_newwindow is used. The meaning of the value of browser.link.open_newwindow.override.external is the same as of browser.link.open_newwindow

  • browser.link.open_newwindow
  • 1:current tab; 2:new window; 3:new tab;

To specify the behavior for links opened via JavaScript window.open() this pref is used:

  • browser.link.open_newwindow.restriction
  • 0:divert always; 1:divert never; 2:divert w/o features