Cross-Page communication in firefox extension

Posted by OzBarry on Stack Overflow See other posts from Stack Overflow or by OzBarry
Published on 2012-05-29T18:15:25Z Indexed on 2012/06/11 10:40 UTC
Read the original article Hit count: 354

I have two tabs that my extension uses and I wanted to pass events back and forth between them. I've already developed a Google Chrome extension that does this via the background page api, but there doesn't seem to be an equivalent in firefox.

I thought message-manager in the firefox extension docs would do the trick, but the documentation on the object is quite poor.

I'd be just as happy with using one of the tabs to control the other if I can't directly import the ideas of a background page from google chrome api.

Any help/guidance would be great.

© Stack Overflow or respective owner

Related posts about firefox-addon

Related posts about firefox-addon-sdk