Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 5 trả lời
  • 1 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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).

Tất cả các câu trả lời (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.