mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-14 03:45:47 +01:00
Add short URL to g<C-g>. Also fix bugs.
This commit is contained in:
@@ -290,6 +290,13 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns a load context for the given thing, to be used with
|
||||
* interfaces needing one for per-window private browsing support.
|
||||
*
|
||||
* @param {Window|Document|Node} thing The thing for which to return
|
||||
* a load context.
|
||||
*/
|
||||
getContext: function getContext(thing) {
|
||||
if (!Ci.nsILoadContext)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user