質問

I have an iframe in a domain "someplace.com" being loaded into "anotherplace.com" 's window.

Old questions say you can't access variables across domains: Sharing global javascript variable of a page with an iframe within that page

But now that we have CORS, I'm wondering if this is possible. Are we now able to access JS variables in an iframe's parent if we enable CORS between the domains?

役に立ちましたか?

解決

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top