mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 01:05:46 +01:00
Compare commits
5 Commits
dactyl-mas
...
pentadacty
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d68b97ae6 | ||
|
|
16a449a161 | ||
|
|
c8bacf3c71 | ||
|
|
6fb969918d | ||
|
|
da9f0f8f8a |
@@ -17,18 +17,12 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
|
|||||||
this.progressListener);
|
this.progressListener);
|
||||||
util.addObserver(this);
|
util.addObserver(this);
|
||||||
|
|
||||||
this._unoverlay = overlay.overlayObject(FullZoom, {
|
|
||||||
get siteSpecific() { return false; },
|
|
||||||
set siteSpecific(val) {}
|
|
||||||
});
|
|
||||||
|
|
||||||
config.tabbrowser.addTabsProgressListener(this.tabsProgressListener);
|
config.tabbrowser.addTabsProgressListener(this.tabsProgressListener);
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function () {
|
destroy: function () {
|
||||||
this.cleanupProgressListener();
|
this.cleanupProgressListener();
|
||||||
this.observe.unregister();
|
this.observe.unregister();
|
||||||
this._unoverlay();
|
|
||||||
config.tabbrowser.removeTabsProgressListener(this.tabsProgressListener);
|
config.tabbrowser.removeTabsProgressListener(this.tabsProgressListener);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -49,10 +49,10 @@ var MOW = Module("mow", {
|
|||||||
events.listen(window, this, "windowEvents");
|
events.listen(window, this, "windowEvents");
|
||||||
|
|
||||||
modules.mow = this;
|
modules.mow = this;
|
||||||
//let fontSize = DOM(document.documentElement).style.fontSize;
|
let fontSize = DOM(document.documentElement).style.fontSize;
|
||||||
styles.system.add("font-size", "dactyl://content/buffer.xhtml",
|
styles.system.add("font-size", "dactyl://content/buffer.xhtml",
|
||||||
// "body { font-size: " + fontSize + "; } \
|
"body { font-size: " + fontSize + "; } \
|
||||||
"html|html > xul|scrollbar { visibility: collapse !important; }",
|
html|html > xul|scrollbar { visibility: collapse !important; }",
|
||||||
true);
|
true);
|
||||||
|
|
||||||
overlay.overlayWindow(window, {
|
overlay.overlayWindow(window, {
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ var StatusLine = Module("statusline", {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
config.tabbrowser.getStatusPanel().hidden = true;
|
|
||||||
|
|
||||||
if (this.statusBar.localName == "toolbar") {
|
if (this.statusBar.localName == "toolbar") {
|
||||||
styles.system.add("addon-bar", config.styleableChrome, String.raw`
|
styles.system.add("addon-bar", config.styleableChrome, String.raw`
|
||||||
#status-bar, #dactyl-status-bar { margin-top: 0 !important; }
|
#status-bar, #dactyl-status-bar { margin-top: 0 !important; }
|
||||||
|
|||||||
@@ -64,8 +64,7 @@ var Config = Module("config", ConfigBase, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
get toolbars() {
|
get toolbars() {
|
||||||
let navbar = window.document.getElementById("nav-bar");
|
return Array.from(DOM.XPath("//*[@toolbarname]", window.document));
|
||||||
return window.getTogglableToolbars().concat(navbar);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
removeTab: function removeTab(tab) {
|
removeTab: function removeTab(tab) {
|
||||||
|
|||||||
@@ -2,20 +2,20 @@
|
|||||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||||
<Description about="urn:mozilla:install-manifest"
|
<Description about="urn:mozilla:install-manifest"
|
||||||
em:id="pentadactyl@dactyl.googlecode.com"
|
em:id="pentadactyl@addons.palemoon.org"
|
||||||
em:type="2"
|
em:type="2"
|
||||||
em:name="Pentadactyl"
|
em:name="Pentadactyl"
|
||||||
em:version="1.2pre"
|
em:version="1.2pre-pm-1"
|
||||||
em:description="Firefox for Vim and Links addicts"
|
em:description="Pale Moon for Vim and Links addicts"
|
||||||
em:homepageURL="http://5digits.org/pentadactyl"
|
em:homepageURL="http://5digits.org/pentadactyl"
|
||||||
em:bootstrap="true"
|
em:bootstrap="true"
|
||||||
em:multiprocessCompatible="false"
|
|
||||||
em:strictCompatibility="true">
|
em:strictCompatibility="true">
|
||||||
|
|
||||||
<em:creator>Kris Maglione, Doug Kearns</em:creator>
|
<em:creator>Kris Maglione, Doug Kearns</em:creator>
|
||||||
<em:developer>Kris Maglione</em:developer>
|
<em:developer>Kris Maglione</em:developer>
|
||||||
<em:developer>Doug Kearns</em:developer>
|
<em:developer>Doug Kearns</em:developer>
|
||||||
|
|
||||||
|
<em:contributor>Andriy Kmit' (Андрій Кміть)</em:contributor>
|
||||||
<em:contributor>anekos</em:contributor>
|
<em:contributor>anekos</em:contributor>
|
||||||
<em:contributor>teramako</em:contributor>
|
<em:contributor>teramako</em:contributor>
|
||||||
<em:contributor>Viktor Kojouharov (Виктор Кожухаров)</em:contributor>
|
<em:contributor>Viktor Kojouharov (Виктор Кожухаров)</em:contributor>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<em:targetApplication>
|
<em:targetApplication>
|
||||||
<Description
|
<Description
|
||||||
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
em:minVersion="38.0"
|
em:minVersion="27.0"
|
||||||
em:maxVersion="50.*"/>
|
em:maxVersion="50.*"/>
|
||||||
</em:targetApplication>
|
</em:targetApplication>
|
||||||
</Description>
|
</Description>
|
||||||
|
|||||||
Reference in New Issue
Block a user