开发者

javascript iframe link referrer

开发者 https://www.devze.com 2022-12-21 06:03 出处:网络
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 i

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消