Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一个页面在 iframe 中加载另一个域。如果 iframe 中的 javascript 单击 iframe 中的链接,那么引用者将是哪个域?
引用者将是单击链接的页面。在您的情况下,它将是在 iframe 中打开的域。
除非它是 IE6 - 那么它是原始页面 - 奇怪吗?哦好
它显然是指新域。