为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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

  • 5 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 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).

所有回复 (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.