Replies: 1 comment 1 reply
-
Automa can interact with iframes across different domains because it's a browser extension with elevated permissions. It injects content scripts into both the main page and the iframe, allowing it to bypass the Same-Origin Policy that normally applies to regular web page scripts. Basically three things:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the Same-Origin Policy, if A page use iframe to load B page, we can not use Javascript in A page to fill the form in B page if they have different domain. But I find that Automa can do it. That is awesome and excellent. How can automa do it? Please tell me which file has this magic. I'd like to study. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions