Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
Solved 已存档

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?

emembe

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.

所有回复 (1)

选择的解决方案

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: