A page loads another domain in an iframe. If javascript inside the iframe clicks on a link in the iframe which domain will the referrer be?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Referer will be the page on which the link is clicked. In your case, it will be domain that is opened in iframe.
回答2:
Unless it's IE6 - then it's the original page - strange? Ohh yes
回答3:
It will obviously refer to the new domain.