📜  从 iframe 获取顶部窗口 url - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:01:28.493000             🧑  作者: Mango
代码示例1
var url = (window.location != window.parent.location)
? document.referrer
: document.location.href;