You can inject a content script to all_frames and into the iframe, but
you can only access the inside of an iframe if it's the same origin.
you can also more directly use postMessage for frame messaging,
instead of background page messaging
On Apr 5, 5:30 am, UVL <andrea.do...@gmail.com> wrote:
> I need tho access the contents of an iframe via javascript.
> I know this is usually blocked due to cross origin policies, but I
> need this inside a Chrome extension, and usually in these cases the
> manifest directives can unlock security policies.
> I've found a lot of request about content scripts accessing iframes,
> but in my case it is not a content script, it is just an iframe inside
> a extension/app page.
> Is there a way to do it?