Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Clicking on a link in Tab 1 opens Tab 2 and clicking a link in Tab 2 opens Tab 3 in firefox while in IE, clicking on link in Tab 2 opens the url in Tab 1.

more options

I have application with url domain1.abc.com. I open the url in Firefox (Tab 1) and click on a button in application which opens domain2.xyz.com in another tab (Tab 2). There are various links in Tab 2 and when I click one of them, Firefox opens the link in third tab (Tab 3). Where as in IE, on clicking link in Tab 2, it opens url in Tab 1. So, in Firefox this extra tab is getting opened. What is the reason for this behaviour? Is there any solution to this. If i change domain2.xyz.com to domain1.xyz.com in Tab 2 of Firefox, it opens url in Tab 1 and does not open a third tab.

I have application with url domain1.abc.com. I open the url in Firefox (Tab 1) and click on a button in application which opens domain2.xyz.com in another tab (Tab 2). There are various links in Tab 2 and when I click one of them, Firefox opens the link in third tab (Tab 3). Where as in IE, on clicking link in Tab 2, it opens url in Tab 1. So, in Firefox this extra tab is getting opened. What is the reason for this behaviour? Is there any solution to this. If i change domain2.xyz.com to domain1.xyz.com in Tab 2 of Firefox, it opens url in Tab 1 and does not open a third tab.

모든 댓글 (3)

more options

Do your links use the target attribute or are you using window.open() with a target attribute or are you using the window.opener object?

Taking a look at your example host names, I suspect this is a cross-site/cross-domain issue. Firefox may have some same-origin rules for the target attribute (although I didn't see that documented on MDN in a quick search).

more options

To link in Tab 2 uses target attribute to get the reference of the already opened tab. This works in IE and Chrome but somehow Firefox is not able to identify the target and instead opens a new tab.

more options

Please assemble a "test case" with that code and post it here - http://pastebin.mozilla.org/ - so we can try it and see what going on. Make sure you set it for a month - as a day may not be long enough.