Hello, I'm trying to embed an extension page (chrome-extension://<id>/ somepage.html) as an iframe inside the content page. It seems that the extension page cannot access any chrome APIs. console.log(chrome.extension) //=> undefined
The extension page works well when loaded in a tab. Is this a designed behavior or an implementation limitation? Anyhow, is this usage (extension page in iframe of content pages) discouraged for some reason? The use case is to show a context popup in a webpage. iframe is used to avoid css conflicts. Thanks, Arrix -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.