搜索 | 用户支持

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

Learn More

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: