+++ /dev/null
-
-overlay chrome://browser/content/browser.xul chrome://keyconfig/content/overlay.xul
-overlay chrome://global/content/globalOverlay.xul chrome://keyconfig/content/overlay.xul
-overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://keyconfig/content/overlay.xul
-overlay chrome://xmleditor/content/xmleditor.xul chrome://keyconfig/content/overlay.xul
-overlay chrome://chat/content/roster.xul chrome://keyconfig/content/overlay.xul
-overlay chrome://chatzilla/content/chatzilla.xul chrome://keyconfig/content/overlay.xul
-content keyconfig jar:chrome/keyconfig.jar!/content/
-
-skin keyconfig classic/1.0 jar:chrome/keyconfig.jar!/skin/
-style chrome://keyconfig/content/keyconfig.xul chrome://keyconfig/skin/keyconfig.css
-
-locale keyconfig en-US jar:chrome/keyconfig.jar!/locale/en-US/
-
-locale keyconfig cs-CZ jar:chrome/keyconfig.jar!/locale/cs-CZ/
-
-locale keyconfig de-DE jar:chrome/keyconfig.jar!/locale/de-DE/
-
-locale keyconfig es-AR jar:chrome/keyconfig.jar!/locale/es-AR/
-
-locale keyconfig fr-FR jar:chrome/keyconfig.jar!/locale/fr-FR/
-
-locale keyconfig it-IT jar:chrome/keyconfig.jar!/locale/it-IT/
-
-locale keyconfig ja-JP jar:chrome/keyconfig.jar!/locale/ja-JP/
-
-locale keyconfig ko-KR jar:chrome/keyconfig.jar!/locale/ko-KR/
-
-locale keyconfig ru-RU jar:chrome/keyconfig.jar!/locale/ru-RU/
-
-locale keyconfig sk-SK jar:chrome/keyconfig.jar!/locale/sk-SK/
-
-locale keyconfig zh-TW jar:chrome/keyconfig.jar!/locale/zh-TW/
+++ /dev/null
-function NSGetModule(compMgr, fileSpec) { return keyconfigModule; }\r
-\r
-var keyconfigModule = {\r
- CID: Components.ID("{e9f7950e-d78d-4aaa-900a-c43588052eba}"),\r
- contractID : "@dorando.at/keyconfig;1",\r
- className : "keyconfigService",\r
-\r
- registerSelf: function (aComponentManager, aFileSpec, aLocation, aType) \r
- {\r
- aComponentManager = aComponentManager.QueryInterface(Components.interfaces.nsIComponentRegistrar);\r
-\r
- aComponentManager.registerFactoryLocation(this.CID, this.className, this.contractID, aFileSpec, aLocation, aType);\r
-\r
- var CategoryManager = Components.classes["@mozilla.org/categorymanager;1"]\r
- .getService(Components.interfaces.nsICategoryManager);\r
- CategoryManager.addCategoryEntry("app-startup", this.className, "service," + this.contractID, true, true, null);\r
- },\r
- \r
- getClassObject: function (aComponentManager, aCID, aIID) \r
- {\r
- if (!aIID.equals(Components.interfaces.nsIFactory)) throw Components.results.NS_ERROR_NOT_IMPLEMENTED;\r
-\r
- if (aCID.equals(this.CID)) return this.factory;\r
- \r
- throw Components.results.NS_ERROR_NO_INTERFACE;\r
- },\r
-\r
- factory: {\r
- createInstance: function (aOuter, aIID)\r
- {\r
- if (aOuter != null) throw Components.results.NS_ERROR_NO_AGGREGATION;\r
-\r
- return new keyconfigService();\r
- }\r
- },\r
- \r
- canUnload: function () { return true; }\r
-};\r
-\r
-function keyconfigService() { }\r
-\r
-keyconfigService.prototype = {\r
- os: Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService),\r
- ps: Components.classes['@mozilla.org/preferences-service;1']\r
- .getService(Components.interfaces.nsIPrefService).getBranch(""),\r
- bug174320fixed: Components.interfaces.nsIDOMNSFeatureFactory ? true : false,\r
- haspageshow: Components.interfaces.nsIDOMPageTransitionEvent ? true : false,\r
-\r
- observe: function (aSubject, aTopic, aData) {\r
- if(aTopic == "app-startup") this.os.addObserver(this,"domwindowopened",false);\r
- else if(aTopic == "domwindowopened") {\r
- aSubject.keyconfig = {service: this};\r
- aSubject.addEventListener("load",this.load,this.bug174320fixed);\r
- }\r
- },\r
-\r
- load: function(event) {\r
- this.removeEventListener(event.type,this.keyconfig.service.load,true);\r
-\r
- if(event.eventPhase == 2 && this.keyconfig.service.bug174320fixed)\r
- if(this.keyconfig.service.haspageshow)\r
- this.addEventListener("pageshow",this.keyconfig.service.init,false);\r
- else\r
- this.keyconfig.service.init.call(this);\r
- else\r
- this.addEventListener("load",this.keyconfig.service.init,false);\r
- },\r
-\r
- init: function() {\r
- this.removeEventListener("pageshow",this.keyconfig.service.init,false);\r
-\r
- this.keyconfig.removedKeys = this.document.createElement("keyset");\r
- this.keyconfig.profile = "keyconfig." + this.keyconfig.service.ps.getCharPref("keyconfig.profile") + ".";\r
-\r
- var i, l;\r
-\r
- var keyset = this.document.getElementsByTagName("keyset")[0] ||\r
- this.document.documentElement.appendChild(this.document.createElement("keyset"));\r
-\r
- var nodes = this.document.getElementsByTagName("key");\r
- for(i = 0, l = nodes.length; i < l; i++) if(!nodes[i].id)\r
- nodes[i].id = "xxx_key"+ i +"_"+nodes[i].getAttribute("command")+nodes[i].getAttribute("oncommand");\r
-\r
- var keys = this.keyconfig.service.ps.getChildList(this.keyconfig.profile, {});\r
-\r
- for(i = 0, l = keys.length; i < l; i++) {\r
- var key, node;\r
- try {\r
- key = this.keyconfig.service.ps.getComplexValue(keys[i], Components.interfaces.nsISupportsString).data.split("][");\r
- } catch(e) { continue; }\r
- if(key[3] && (!key[4] || key[4] == this.document.location)) {\r
- node = keyset.appendChild(this.document.createElement("key"));\r
- node.id = keys[i].substr(this.keyconfig.profile.length);\r
- node.setAttribute("oncommand",key[3]);\r
- } else {\r
- node = this.document.getElementById(keys[i].substr(this.keyconfig.profile.length));\r
- if(!node) continue;\r
- }\r
-\r
- node.removeAttribute("modifiers"); node.removeAttribute("key"); node.removeAttribute("keycode");\r
- node.removeAttribute("charcode");\r
- if(key[0] == "!") {this.keyconfig.removedKeys.appendChild(node); continue;}\r
-\r
- if(key[0]) node.setAttribute("modifiers",key[0]);\r
- if(key[1]) node.setAttribute("key",key[1]);\r
- if(key[2]) node.setAttribute("keycode",key[2]);\r
- }\r
- }\r
-\r
-}\r
+++ /dev/null
-pref("keyconfig.devmode", false);\r
-pref("keyconfig.nicenames.reverse_order", false);\r
-pref("keyconfig.profile", "main");\r
-pref("keyconfig.warnOnClose", true);\r
-pref("keyconfig.warnOnDuplicate", true);
\ No newline at end of file
+++ /dev/null
-initInstall("keyconfig", "/dorando/keyconfig/", ""); \r
-\r
-var chromeDir = getFolder("Profile", "chrome");\r
-\r
-addFile("keyconfig","chrome/keyconfig.jar",chromeDir,"");\r
-addFile("keyconfig-service","components/keyconfig-service.js",getFolder("Program","components"),"");\r
-addFile("keyconfig-pref","defaults/preferences/keyconfig.js",getFolder("Program","defaults/pref"),"");\r
-\r
-registerChrome(PACKAGE | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "content/");\r
-registerChrome(SKIN | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "skin/");\r
-\r
-function l(a)\r
-{\r
- registerChrome(LOCALE | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "locale/"+a);\r
-}\r
-\r
-l("en-US/");\r
-\r
-l("cs-CZ/");\r
-l("de-DE/");\r
-l("es-AR/");\r
-l("fr-FR/");\r
-l("it-IT/");\r
-l("ja-JP/");\r
-l("ko-KR/");\r
-l("ru-RU/");\r
-l("sk-SK/");\r
-l("zh-TW/");\r
-\r
-if (0 == getLastError())\r
- performInstall();\r
-else\r
- cancelInstall();
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0"?>
-<RDF:RDF xmlns:NS1="http://www.mozilla.org/2004/em-rdf#"
- xmlns:NC="http://home.netscape.com/NC-rdf#"
- xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
- <RDF:Description RDF:about="rdf:#$R7xhC3"
- NS1:id="{758DAD28-FDE9-4ab8-A301-3FFFAB3A697A}"
- NS1:minVersion="0"
- NS1:maxVersion="0" />
- <RDF:Description RDF:about="rdf:#$x7xhC3"
- NS1:id="{a463f10c-3994-11da-9945-000d60ca027b}"
- NS1:minVersion="0.7.4.1"
- NS1:maxVersion="0.7.7" />
- <RDF:Description RDF:about="rdf:#$n7xhC3"
- NS1:id="{136c295a-4a5a-41cf-bf24-5cee526720d5}"
- NS1:minVersion="1.0"
- NS1:maxVersion="1.0" />
- <RDF:Description RDF:about="rdf:#$W7xhC3"
- NS1:id="songbird@songbirdnest.com"
- NS1:minVersion="0"
- NS1:maxVersion="0" />
- <RDF:Description RDF:about="urn:mozilla:extension:file:keyconfig.jar"
- NS1:package="content/"
- NS1:skin="skin/">
- <NS1:locale>locale/en-US/</NS1:locale>
- <NS1:locale>locale/cs-CZ/</NS1:locale>
- <NS1:locale>locale/de-DE/</NS1:locale>
- <NS1:locale>locale/es-AR/</NS1:locale>
- <NS1:locale>locale/fr-FR/</NS1:locale>
- <NS1:locale>locale/it-IT/</NS1:locale>
- <NS1:locale>locale/ja-JP/</NS1:locale>
- <NS1:locale>locale/ko-KR/</NS1:locale>
- <NS1:locale>locale/ru-RU/</NS1:locale>
- <NS1:locale>locale/sk-SK/</NS1:locale>
- <NS1:locale>locale/zh-TW/</NS1:locale>
- </RDF:Description>
- <RDF:Description RDF:about="rdf:#$+7xhC3"
- NS1:id="{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}"
- NS1:minVersion="1.5a"
- NS1:maxVersion="1.5a" />
- <RDF:Description RDF:about="rdf:#$C7xhC3"
- NS1:id="{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}"
- NS1:minVersion="0.9.75"
- NS1:maxVersion="0.9.75" />
- <RDF:Description RDF:about="rdf:#$87xhC3"
- NS1:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
- NS1:minVersion="1.5.0.6"
- NS1:maxVersion="2.0.0.9" />
- <RDF:Description RDF:about="rdf:#$i7xhC3"
- NS1:id="{718e30fb-e89b-41dd-9da7-e25a45638b28}"
- NS1:minVersion="0.3a1+"
- NS1:maxVersion="0.3a1+" />
- <RDF:Description RDF:about="urn:mozilla:install-manifest"
- NS1:id="keyconfig@dorando"
- NS1:name="keyconfig"
- NS1:version="20060828.1"
- NS1:creator="Dorando"
- NS1:homepageURL="http://mozilla.dorando.at/"
- NS1:description="Rebind your keys."
- NS1:updateURL="http://mozilla.dorando.at/update.rdf">
- <NS1:contributor>Hadar Hagai</NS1:contributor>
- <NS1:contributor>MatrixIsAllOver of eXtenZilla.it (it-IT)</NS1:contributor>
- <NS1:contributor>Mori (fr-FR)</NS1:contributor>
- <NS1:contributor>SHIMODA Hiroshi (ja-JP)</NS1:contributor>
- <NS1:contributor>SlovakSoft (sk-SK)</NS1:contributor>
- <NS1:contributor>Tomáš Kopečný (cs-CZ)</NS1:contributor>
- <NS1:contributor>ReinekeFux - erweiterungen.de (de-DE)</NS1:contributor>
- <NS1:contributor>stoneflash (ru-RU)</NS1:contributor>
- <NS1:contributor>ZuGro (es-AR)</NS1:contributor>
- <NS1:contributor>rexx26 (zh-TW)</NS1:contributor>
- <NS1:contributor>kyo (ko-KR)</NS1:contributor>
- <NS1:targetApplication RDF:resource="rdf:#$87xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$d7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$i7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$n7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$s7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$x7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$C7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$H7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$M7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$R7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$W7xhC3"/>
- <NS1:targetApplication RDF:resource="rdf:#$+7xhC3"/>
- <NS1:file RDF:resource="urn:mozilla:extension:file:keyconfig.jar"/>
- </RDF:Description>
- <RDF:Description RDF:about="rdf:#$H7xhC3"
- NS1:id="{4669bfc0-2957-11da-8cd6-0800200c9a66}"
- NS1:minVersion="0"
- NS1:maxVersion="0" />
- <RDF:Description RDF:about="rdf:#$d7xhC3"
- NS1:id="{3550f703-e582-4d05-9a08-453d09bdfdc6}"
- NS1:minVersion="1.5.0.5"
- NS1:maxVersion="2.0.0.0" />
- <RDF:Description RDF:about="rdf:#$M7xhC3"
- NS1:id="{3db10fab-e461-4c80-8b97-957ad5f8ea47}"
- NS1:minVersion="8.1"
- NS1:maxVersion="8.1" />
- <RDF:Description RDF:about="rdf:#$s7xhC3"
- NS1:id="{3a699c0b-c85e-4a8d-baf1-948bdcfb75bd}"
- NS1:minVersion="0.3.1"
- NS1:maxVersion="0.3.1" />
-</RDF:RDF>
+++ /dev/null
-content hah jar:chrome/chrome.jar!/content/
-overlay chrome://browser/content/browser.xul chrome://hah/content/overlay.xul
-skin hah classic/1.0 jar:chrome/chrome.jar!/skin/
-locale hah en-US jar:chrome/chrome.jar!/locale/en-US/
-locale hah fi-FI jar:chrome/chrome.jar!/locale/fi-FI/
-locale hah hu-HU jar:chrome/chrome.jar!/locale/hu-HU/
-locale hah it-IT jar:chrome/chrome.jar!/locale/it-IT/
-locale hah fr-FR jar:chrome/chrome.jar!/locale/fr-FR/
+++ /dev/null
-# Hit-a-Hint default preferences
-
-/* Do not edit this file.
- *
- * If you make changes to this file while the application is running,
- * the changes will be overwritten when the application exits.
- *
- * To make a manual change to preferences, you can visit the URL about:config
- * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
- */
-
-pref("extensions.hah.enabled", true);
-pref("extensions.hah.hideTabs", false);
-pref("extensions.hah.hints.forceNumeric", false);
-pref("extensions.hah.hints.style", "z-index:500;font:normal normal normal x-small helvetica;color:ButtonText;background-color:ButtonFace;border-color:ButtonShadow;border-width:1px;-moz-border-radius:0.3em;border-style:solid;padding:0px 3px 0px 3px;position:absolute;");
-pref("extensions.hah.hints.styleFocus", "z-index:500;font:normal normal normal x-small helvetica;color:ButtonText;background-color:ButtonShadow;border-color:ButtonShadow;border-width:1px;-moz-border-radius:0.3em;border-style:solid;padding:0px 3px 0px 3px;position:absolute;");
-pref("extensions.hah.hints.tags", "//*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @class='lk' or @class='s'] | //input[@type!='hidden'] | //a | //area | //iframe | //textarea | //button | //select");
-pref("extensions.hah.keys.magicDelay", 150);
-pref("extensions.hah.keys.numbers", "0123456789");
+++ /dev/null
-<?xml version="1.0"?>
-<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
- xmlns:NC="http://home.netscape.com/NC-rdf#"
- xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
- <RDF:Description RDF:about="urn:mozilla:install-manifest"
- em:id="{4476fef4-3557-40b5-afcd-d6903cf7cc9d}"
- em:version="0.9.1"
- em:name="Hit-a-Hint"
- em:description="Click links by hitting hints!"
- em:creator="Pekka Sillanpaa"
- em:homepageURL="http://hah.mozdev.org"
- em:iconURL="chrome://hah/skin/icon.png"
- em:optionsURL="chrome://hah/content/preferences.xul"
- em:type="2">
- <em:targetApplication RDF:resource="rdf:#$9XuHR2"/>
- <em:file RDF:resource="urn:mozilla:extension:file:hah.jar"/>
- </RDF:Description>
- <RDF:Description RDF:about="rdf:#$9XuHR2"
- em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
- em:minVersion="1.5"
- em:maxVersion="2.0.0.*" />
- <RDF:Description RDF:about="urn:mozilla:extension:file:hah.jar"
- em:package="content/hah/"
- em:skin="skin/classic/hah/">
- <em:locale>locale/en-US/hah/</em:locale>
- <em:locale>locale/fi-FI/hah/</em:locale>
- <em:locale>locale/it-IT/hah/</em:locale>
- <em:locale>locale/fr-FR/hah/</em:locale>
- <em:locale>locale/hu-HU/hah/</em:locale>
- </RDF:Description>
-</RDF:RDF>