I have the following architecture: 1. toolstrip with a button that loads a mole 2. the mole html (in extension folder) includes an iframe with the link to the actual UI implementation hosted on an http server
The mole html includes chrome extension code to listen for tab creation and updates, and needs to notify the doc in the iframe. I've set document.domain in both my mole and my iframe doc to the same domain (as described in section 13.8.2 of JavaScript: The Definitive Guid, 5th Ed.) However, my mole cannot access JavaScript globals in windows.frames[0]. Our UI implementation is hosted in order to deploy quick updates without forcing reinstallation of the extension. It works this way for our Firefox add-on and IE extension. I need to listen to chrome extension events and dispatch them to methods in the UI document. With my hosted UI in an iframe in a mole, I cannot get it working. If I load the hosted UI directly into a mole (from my toolstrip's expand call), it shows up, but I have two problems: 1) I cannot set the width (the iframe solves this) and 2) that document cannot use the chome extension APIs. thx Michael --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
