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

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe
Rezolvat Arhivate

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.

Toate răspunsurile (1)

Soluție aleasă

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: