簡體   English   中英

如何獲取iframe src包含不同域名的iframe的contentWindow.location?

[英]How can I get the contentWindow.location of the iframe, where the iframe src contains different domain name?

如何獲得iframe src包含不同域名的iframe的contentWindow.location? 我已經在Google上進行了搜索,但是我發現了類似proxt的內容,那么如何在iframe中獲取iframe src不在同一域中的窗口的位置?

瀏覽器端的XSS規則阻止訪問,並在contentWindow.location中顯示外部URL。 你做不到

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM