I have two separate extensions and the one needs some info from the other. I
would like to detect if the other extension is installed and currently
enabled so I could enable/disable some options in a prefwindow.
Any information that could point me in the right direction would be much
appreciated.
Cheers,
Rob
test = document.getElementById('myownextensionID');
if (test) {
// now you know it found the element so the extension must be present
}
-mark
*MonkeyMenu* is a new project I have started which brings some of the
features of the Menux Firefox extension to the Seamonkey browser. You
can add about 25 buttons to the Seamonkey user interface, close down all
the toolbars, add/remove search engines, popup a search engine list
(Alt+E), set a timer to run at startup, and use the new Search box
feature (Ctrl+K). Basically the extension revamps the browser UI making
it easier and faster to use. Pressing Alt + M pops up the extension's
main menu. MonkeyMenu is an extension for the Seamonkey browser to
enhance usability and increase screen realestate. I am also developing a
tandem theme called SeaGnome which blends in with the MonkeyMenu
extension. Running the extension and the new theme together gives the
Seamonkey browser a modern new look.
http://markbokil.org/index.php?section=tech&content=c_linuxmonkeymenu.php
screenshot of extension buttons, menus:
http://markbokil.org/images/mozilla/monkeymenu.png
screenshot of the extension options:
http://markbokil.org/images/mozilla/monkeymenu-options.png
-Mark
I ended up just doing a query on the extensions datasource. Probably way
overkill, but it works all dandy like.
Thanks anyways.
Cheers,
Rob
"mark bokil" <ma...@markbokil.org> wrote in message
news:mailman.191.116267182...@lists.mozilla.org...