Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Extensions Options Menu + SeaMonkey
content optionsmenu chrome/content/
skin optionsmenu classic/1.0 chrome/skin/
overlay chrome://browser/content/browser.xul chrome://optionsmenu/content/OptionsMenuOverlayFF.xul
overlay chrome://messenger/content/messenger.xul chrome://optionsmenu/content/OptionsMenuOverlayTB.xul
overlay chrome://navigator/content/navigator.xul chrome://optionsmenu/content/OptionsMenuOverlaySM.xul
overlay chrome://communicator/content/tasksOverlay.xul chrome://optionsmenu/content/OptionsMenuOverlaySM.xul
style chrome://global/content/customizeToolbar.xul chrome://optionsmenu/skin/button.css
locale optionsmenu da chrome/locale/da/
locale optionsmenu en-US chrome/locale/en-US/
locale optionsmenu fr chrome/locale/fr/
locale optionsmenu it chrome/locale/it/
locale optionsmenu ja chrome/locale/ja/
locale optionsmenu nl chrome/locale/nl/
locale optionsmenu pt-BR chrome/locale/pt-BR/
locale optionsmenu zh-CN chrome/locale/zh-CN/
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.mozilla.org/2004/em-rdf#">
<RDF:Description about="urn:mozilla:install-manifest">
<id>{1feca320-6b4d-11df-a08a-0800200c9a66}</id>
<type>2</type>
<name>Extension Options Menu</name>
<version>1.18</version>
<creator>Chris</creator>
<contributor>Zoolcar9</contributor>
<optionsURL>chrome://optionsmenu/content/settings.xul</optionsURL>
<homepageURL>http://forums.mozillazine.org/viewtopic.php?f=48&amp;t=2141579</homepageURL>
<description>Adds extension options dialogs to the Tools and Titlebar menus. Includes toolbar icon.</description>
<translator>Haebaru</translator>
<translator>yfdyh000</translator>
<translator>Regmos</translator>
<translator>Benoit Hupin</translator>
<translator>Aeon</translator>
<translator>maurojs10</translator>
<translator>Alf</translator>
<localized>
<Description>
<locale>pt-BR</locale>
<name>Extension Options Menu</name>
<description>Acrescenta acesso às opções das extensões no menu Ferramentas e no botão Firefox. Inclui ícone para a barra de ferramentas.</description>
</Description>
</localized>
<targetApplication>
<RDF:Description>
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
<minVersion>3.7a5pre</minVersion>
<maxVersion>7.0a1</maxVersion>
</RDF:Description>
</targetApplication>
<targetApplication>
<RDF:Description>
<id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</id>
<minVersion>3.3a1</minVersion>
<maxVersion>7.0a1</maxVersion>
</RDF:Description>
</targetApplication>
<targetApplication>
<RDF:Description><!-- Seamonkey -->
<id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</id>
<minVersion>2.0</minVersion><!-- untested -->
<maxVersion>2.1</maxVersion>
</RDF:Description>
</targetApplication>
</RDF:Description>
</RDF:RDF>
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://optionsmenu/skin/button.css" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % optionsmenuDTD SYSTEM "chrome://optionsmenu/locale/optionsmenu.dtd">
<!ENTITY % browserDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
%optionsmenuDTD;
%browserDTD;
]>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://optionsmenu/content/OptionsMenu.js"/>
<popup id="taskPopup">
<menu id="extensionsoptionsmenu" label="&EOM.ExtensionOptions;" insertafter="addonsmgr">
<menupopup/>
</menu>
</popup>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="extensionsoptionsmenutoolbar"
type="menu"
orient="horizontal"
class="toolbarbutton-1"
label="&EOM.ExtensionOptions;"
tooltiptext="&EOM.ExtensionOptions;"
onclick="if (event.button == 2) { event.preventDefault(); toEM(); }">
<menupopup/>
</toolbarbutton>
</toolbarpalette>
</overlay>
diff -urN {1feca320-6b4d-11df-a08a-0800200c9a66}/chrome/content/OptionsMenuOverlaySM.xul {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/chrome/content/OptionsMenuOverlaySM.xul
--- {1feca320-6b4d-11df-a08a-0800200c9a66}/chrome/content/OptionsMenuOverlaySM.xul Thu Jan 1 07:00:00 1970
+++ {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/chrome/content/OptionsMenuOverlaySM.xul Sun Jun 19 00:05:00 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://optionsmenu/skin/button.css" type="text/css"?>
+<!DOCTYPE overlay [
+ <!ENTITY % optionsmenuDTD SYSTEM "chrome://optionsmenu/locale/optionsmenu.dtd">
+ <!ENTITY % browserDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
+ %optionsmenuDTD;
+ %browserDTD;
+]>
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <script type="application/x-javascript" src="chrome://optionsmenu/content/OptionsMenu.js"/>
+
+ <popup id="taskPopup">
+ <menu id="extensionsoptionsmenu" label="&EOM.ExtensionOptions;" insertafter="addonsmgr">
+ <menupopup/>
+ </menu>
+ </popup>
+
+ <toolbarpalette id="BrowserToolbarPalette">
+ <toolbarbutton id="extensionsoptionsmenutoolbar"
+ type="menu"
+ orient="horizontal"
+ class="toolbarbutton-1"
+ label="&EOM.ExtensionOptions;"
+ tooltiptext="&EOM.ExtensionOptions;"
+ onclick="if (event.button == 2) { event.preventDefault(); toEM(); }">
+ <menupopup/>
+ </toolbarbutton>
+ </toolbarpalette>
+</overlay>
\ No newline at end of file
diff -urN {1feca320-6b4d-11df-a08a-0800200c9a66}/chrome.manifest {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/chrome.manifest
--- {1feca320-6b4d-11df-a08a-0800200c9a66}/chrome.manifest Wed Jun 8 12:23:20 2011
+++ {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/chrome.manifest Sat Jun 18 23:52:58 2011
@@ -2,6 +2,8 @@
skin optionsmenu classic/1.0 chrome/skin/
overlay chrome://browser/content/browser.xul chrome://optionsmenu/content/OptionsMenuOverlayFF.xul
overlay chrome://messenger/content/messenger.xul chrome://optionsmenu/content/OptionsMenuOverlayTB.xul
+overlay chrome://navigator/content/navigator.xul chrome://optionsmenu/content/OptionsMenuOverlaySM.xul
+overlay chrome://communicator/content/tasksOverlay.xul chrome://optionsmenu/content/OptionsMenuOverlaySM.xul
style chrome://global/content/customizeToolbar.xul chrome://optionsmenu/skin/button.css
locale optionsmenu da chrome/locale/da/
locale optionsmenu en-US chrome/locale/en-US/
diff -urN {1feca320-6b4d-11df-a08a-0800200c9a66}/install.rdf {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/install.rdf
--- {1feca320-6b4d-11df-a08a-0800200c9a66}/install.rdf Sun Jun 12 13:20:40 2011
+++ {1feca320-6b4d-11df-a08a-0800200c9a66}+SM/install.rdf Sun Jun 19 11:19:59 2011
@@ -38,5 +38,12 @@
<maxVersion>7.0a1</maxVersion>
</RDF:Description>
</targetApplication>
+ <targetApplication>
+ <RDF:Description><!-- Seamonkey -->
+ <id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</id>
+ <minVersion>2.0</minVersion><!-- untested -->
+ <maxVersion>2.1</maxVersion>
+ </RDF:Description>
+ </targetApplication>
</RDF:Description>
</RDF:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.