mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 09:34:13 +01:00
:set passunknown-=!input
This commit is contained in:
@@ -638,7 +638,7 @@ var Modes = Module("modes", {
|
|||||||
|
|
||||||
options.add(["passunknown", "pu"],
|
options.add(["passunknown", "pu"],
|
||||||
"Pass through unknown keys in these modes",
|
"Pass through unknown keys in these modes",
|
||||||
"stringlist", "!text_edit,!input,base",
|
"stringlist", "!text_edit,base",
|
||||||
opts);
|
opts);
|
||||||
|
|
||||||
options.add(["showmode", "smd"],
|
options.add(["showmode", "smd"],
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ var Services = Module("Services", {
|
|||||||
["nsIBrowserHistory", "nsIGlobalHistory3", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
["nsIBrowserHistory", "nsIGlobalHistory3", "nsINavHistoryService", "nsPIPlacesDatabase"]);
|
||||||
this.add("io", "@mozilla.org/network/io-service;1", "nsIIOService");
|
this.add("io", "@mozilla.org/network/io-service;1", "nsIIOService");
|
||||||
this.add("json", "@mozilla.org/dom/json;1", "nsIJSON", "createInstance");
|
this.add("json", "@mozilla.org/dom/json;1", "nsIJSON", "createInstance");
|
||||||
|
this.add("listeners", "@mozilla.org/eventlistenerservice;1", "nsIEventListenerService");
|
||||||
this.add("livemark", "@mozilla.org/browser/livemark-service;2", "nsILivemarkService");
|
this.add("livemark", "@mozilla.org/browser/livemark-service;2", "nsILivemarkService");
|
||||||
this.add("mime", "@mozilla.org/mime;1", "nsIMIMEService");
|
this.add("mime", "@mozilla.org/mime;1", "nsIMIMEService");
|
||||||
this.add("observer", "@mozilla.org/observer-service;1", "nsIObserverService");
|
this.add("observer", "@mozilla.org/observer-service;1", "nsIObserverService");
|
||||||
|
|||||||
@@ -1955,7 +1955,8 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
|||||||
let res = [], seen = {};
|
let res = [], seen = {};
|
||||||
(function rec(frame) {
|
(function rec(frame) {
|
||||||
try {
|
try {
|
||||||
res = res.concat(util.subdomains(frame.location.hostname));
|
if (frame.location.hostname)
|
||||||
|
res = res.concat(util.subdomains(frame.location.hostname));
|
||||||
}
|
}
|
||||||
catch (e) {}
|
catch (e) {}
|
||||||
Array.forEach(frame.frames, rec);
|
Array.forEach(frame.frames, rec);
|
||||||
|
|||||||
Reference in New Issue
Block a user