javascript iframe link referrer
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?
Referer will be the page on which the link is clicked. In your case, it will be domain that is opened in iframe.
Unless it's IE6 - then it's the original page - strange? Ohh yes
It will obviously refer to the new domain.
精彩评论