javascript iframe link referrer

前端 未结 3 1723
情歌与酒
情歌与酒 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:21

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

提交回复
热议问题