mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
new :setlocal and :setglobal commands, please test thorougly and improve! Thanks konstantin
This commit is contained in:
@@ -582,8 +582,6 @@ liberator.Buffer = function () //{{{
|
||||
|
||||
get URL()
|
||||
{
|
||||
// TODO: .URL is not defined for XUL documents
|
||||
//return window.content.document.URL;
|
||||
return window.content.document.location.href;
|
||||
},
|
||||
|
||||
@@ -615,6 +613,13 @@ liberator.Buffer = function () //{{{
|
||||
return window.content.document.title;
|
||||
},
|
||||
|
||||
get options()
|
||||
{
|
||||
if (!window.content.document.liberatorOptions)
|
||||
window.content.document.liberatorOptions = {};
|
||||
return window.content.document.liberatorOptions;
|
||||
},
|
||||
|
||||
// returns an XPathResult object
|
||||
evaluateXPath: function (expression, doc, elem, asIterator)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user