Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

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 reply
  • 2 have this problem
  • 1 view
  • Last reply by 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.

Chosen solution

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:

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

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: