The permission in the manifest are for the background page. Unfortunately, we can't give the content script access to MSN without also giving Craigslist access to MSN. I'm not sore exactly what your use case is, but you put content scripts in both and use the background page to coordinate them.
Adam On Sat, Nov 14, 2009 at 8:22 AM, tech4computer <[email protected]> wrote: > Hi, > > I have ported my greasemonkey script / firefox extension to google > chrome and its available here: > > http://code.google.com/p/craigslist-car-research/ > > Its for anyone shopping for used car on craigslist. Shows reviews, > estimated price and reliability information next to the car ad. > > ----- > > This extension creates an iframe and shows MSN content in frame on > craigslist page. But this gives a cross-domain warning in console. > > warning: "Unsafe JavaScript attempt to access frame with URL..." > > I was thinking that if we add MSN domain in the "permissions" section > of the extension manifest.json file then this warning shouldn't be > issued as we already have exclusive permission in extension to access > MSN. > What do you guys thing? > > -- > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=.
