开发者

Is there a way to access one iframe from another?

开发者 https://www.devze.com 2023-01-28 04:54 出处:网络
A few details: The two iframes are from different domains. I want to run a script within one iframe,开发者_StackOverflow to extract data from another. Is that possible?There are some methods involving

A few details: The two iframes are from different domains. I want to run a script within one iframe,开发者_StackOverflow to extract data from another. Is that possible?


There are some methods involving the usage of proxies.

Check this out: Another Cross Domain iFrame Communication Technique

For more methods just google "cross domain iframe" you'll find plenty of workarounds.


No direct access - however use intermediate GET/POST or Ajax.

0

精彩评论

暂无评论...
验证码 换一张
取 消