Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for chromium.org
« Groups Home
Accessing iframe content with a Chrome extension - not via content script
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
UVL  
View profile  
 More options Apr 5 2012, 8:30 am
From: UVL <andrea.do...@gmail.com>
Date: Thu, 5 Apr 2012 05:30:28 -0700 (PDT)
Local: Thurs, Apr 5 2012 8:30 am
Subject: Accessing iframe content with a Chrome extension - not via content script
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PhistucK  
View profile  
 More options May 7 2012, 3:37 pm
From: PhistucK <phist...@gmail.com>
Date: Mon, 7 May 2012 22:37:31 +0300
Local: Mon, May 7 2012 3:37 pm
Subject: Re: [crx] Accessing iframe content with a Chrome extension - not via content script

No, you will have to use message passing and a content script.

☆*PhistucK*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Devin  
View profile  
 More options May 8 2012, 2:18 pm
From: Devin <devinrho...@gmail.com>
Date: Tue, 8 May 2012 11:18:54 -0700 (PDT)
Local: Tues, May 8 2012 2:18 pm
Subject: Re: Accessing iframe content with a Chrome extension - not via content script
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »