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

Why the same url with different parameters over-ride, the TAB opened before?

  • 5 odgovori
  • 1 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao Sasho

more options

When I call from some page http://example.com/index.php?id=1, the page opens in new tab, but when I call from that same page (or different) url http://example.com/index.php?id=2 it over-ride tab where is opened id=1. index.php title is example - $id (so it's unique with every request).

When I call from some page http://example.com/index.php?id=1, the page opens in new tab, but when I call from that same page (or different) url http://example.com/index.php?id=2 it over-ride tab where is opened id=1. index.php title is example - $id (so it's unique with every request).

All Replies (5)

more options

If a link specifies a target then such a link is opened in the tab or window with this name if you left-click such a link.
If you want to open the link in a new tab then you can middle-click such link.

more options

But isn't that different link?

example.com/index.php?id=1 example.com/index.php?id=2

Tab name is also different (as page title).

more options

If you click a link on a web page then the HTML code can contain other attributes and if a target window is specified then it will be used if you use a default left-click. The actual URL doesn't matter.

Firefox also have a Switch to Tab feature in the location bar drop down list to prevent opening a new tab with the same URL. In such a case you can press Shift or Alt while an entry is highlighted to see the URL.

more options

Are you the author of the page with the two links? To ensure that both launch in their own tab, make sure you've set target="_blank" in the link or use window.open(url, "_blank").

more options

I aam the author of webpage where link is pointing, but I cannot check by myself if the links are having "_blank" parameter because that web page is java based.

But if will ask those programers.