开发者

Can I inspect user go to some address he go to some website via the iframe?

For example, I have a iFrame, which the src is www.google.com, when people go to apple.com via the iframe, I would like to prompt a message to the user. How can I achieve it?

Can I have some kind of listener to listen to the iFrame current address 开发者_运维知识库using jQuery?


The same origin policy will prevent you from doing that.

reference: http://en.wikipedia.org/wiki/Same_origin_policy

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜