1
0
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:
Martin Stubenschrott
2008-08-07 20:23:09 +00:00
parent 615fddca4f
commit 902d7c4030
6 changed files with 167 additions and 18 deletions

View File

@@ -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)
{