javascript iframe link referrer

前端 未结 3 1722
情歌与酒
情歌与酒 2020-12-21 12:46

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?

相关标签:
3条回答
  • 2020-12-21 13:15

    Unless it's IE6 - then it's the original page - strange? Ohh yes

    0 讨论(0)
  • 2020-12-21 13:15

    It will obviously refer to the new domain.

    0 讨论(0)
  • 2020-12-21 13:21

    Referer will be the page on which the link is clicked. In your case, it will be domain that is opened in iframe.

    0 讨论(0)
提交回复
热议问题