Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Prevent Firefox from opening external link in current tab

  • 1 trả lời
  • 0 gặp vấn đề này
  • 22 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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