搜尋 Mozilla 技術支援網站

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

了解更多

click on a link with 'target="blank" ' on a local file opens the target in new tab (1), when i hit another link on the local file it opens in same tab(1), why?

  • 1 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

i have a local html-file with a couple of links with the 'target="blank" ' attribute. On a normal website it opens the link in a new Tab every time i click on a link, not so in the local file: it opens one new Tab(1) and when i try to open a second one it opens in the first new Tab(1). I can go back in history in the new Tab(1) but not open a second new Tab - except with a middle click but then what is 'target="blank" ' for? I hope you know what i mean.

Keep on the good work.

i have a local html-file with a couple of links with the 'target="blank" ' attribute. On a normal website it opens the link in a new Tab every time i click on a link, not so in the local file: it opens one new Tab(1) and when i try to open a second one it opens in the first new Tab(1). I can go back in history in the new Tab(1) but not open a second new Tab - except with a middle click but then what is 'target="blank" ' for? I hope you know what i mean. Keep on the good work.

被選擇的解決方法

There is this pref to set the behavior for link opened via an external application.

  • browser.link.open_newwindow.override.external

See also:

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (1)

more options

選擇的解決方法

There is this pref to set the behavior for link opened via an external application.

  • browser.link.open_newwindow.override.external

See also:

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