Re: FW: send values to firefox extension
Brett Zamir <[email protected]> Thu, 25 Feb 2010 11:39:49 +0800
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <[email protected]> |
On 2/24/2010 10:44 PM, george.tovrea wrote: > hi , > > can I send some value to local firefox extension from other pc ? > Yes, it works by Firefox listening for custom DOM events and then waiting for the web application to trigger an event. See https://developer.mozilla.org/en/Code_snippets/Interaction_between_privileged_and_non-privileged_pages Another approach is used at http://hyperstruct.net/2006/8/18/exchanging-data-between-chrome-and-content , but I think it is safer to use the first one since the latter is more likely to lead to name conflicts. best wishes, Brett