1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 00:02:27 +01:00

hacky way to get the indent for :pageinfo back, might move it to the template.table() function as an optional param

This commit is contained in:
Martin Stubenschrott
2008-10-03 07:04:56 +00:00
parent 0229483a4e
commit 07643baebe
3 changed files with 26 additions and 12 deletions

View File

@@ -3,6 +3,11 @@
Also drop me a note, if you want the donated amount to be displayed.
2008:
* Peter Rufer
* Yann Le Du
* Wilson Bilkovich
* Galen Taylor
* Ben Hoffstein
* Luc St-Louis
* Robert Meerman
* Silvio Di Stefano

10
TODO
View File

@@ -7,7 +7,15 @@ BUGS:
- can't reverse tab through the vimperator toolbar
- searching backwards incrementally does not work i.e. with 'incsearch' set
- http://msdn2.microsoft.com/en-us/library/ms535258.aspx does not scroll with j/k/etc.
same for http://forum.mootools.net/topic.php?id=3458
same for http://forum.mootools.net/topic.php?id=3458 and
http://kainhofer.com/~lilypond/Documentation/user/lilypond/
probable problem:
@media screen {
body>div#tocframe {
position: fixed
}
}
- insert abbreviations broken on <space>
- :sidebar improvements (:sidebar! Downloads while downloads is open should refocus the sidebar)
- http://www.maximonline.com/jokes/ - the prev and next buttons on the image map are not hinted

View File

@@ -682,7 +682,7 @@ liberator.Buffer = function () //{{{
nFeed++;
var type = feedTypes[feed.type] || feedTypes["application/rss+xml"];
if (verbose)
yield [feed.title, liberator.util.highlightURL(feed.href, true) + <span style="color: gray;"> ({type})</span>];
yield [" " + feed.title, liberator.util.highlightURL(feed.href, true) + <span style="color: gray;"> ({type})</span>];
}
}
}
@@ -736,22 +736,22 @@ liberator.Buffer = function () //{{{
return;
}
yield ["Title", doc.title];
yield ["URL", liberator.util.highlightURL(doc.location.toString(), true)];
yield [" Title", doc.title];
yield [" URL", liberator.util.highlightURL(doc.location.toString(), true)];
var ref = "referrer" in doc && doc.referrer;
if (ref)
yield ["Referrer", liberator.util.highlightURL(ref, true)];
yield [" Referrer", liberator.util.highlightURL(ref, true)];
if (pageSize[0])
yield ["File Size", pageSize[1] ? pageSize[1] + " (" + pageSize[0] + ")"
yield [" File Size", pageSize[1] ? pageSize[1] + " (" + pageSize[0] + ")"
: pageSize[0]];
yield ["Mime-Type", doc.contentType];
yield ["Encoding", doc.characterSet];
yield ["Compatibility", doc.compatMode == "BackCompat" ? "Quirks Mode" : "Full/Almost Standards Mode"];
yield [" Mime-Type", doc.contentType];
yield [" Encoding", doc.characterSet];
yield [" Compatibility", doc.compatMode == "BackCompat" ? "Quirks Mode" : "Full/Almost Standards Mode"];
if (lastModVerbose)
yield ["Last Modified", lastModVerbose];
yield [" Last Modified", lastModVerbose];
});
addPageInfoSection("m", "Meta Tags", function (verbose)
@@ -761,7 +761,7 @@ liberator.Buffer = function () //{{{
let nodes = Array.map(metaNodes, function (node) [(node.name || node.httpEquiv), node.content])
.sort(function (a, b) String.localeCompare(a[0].toLowerCase(), b[0].toLowerCase()));
return ([node[0], liberator.util.highlightURL(node[1], false)]
return ([" " + node[0], liberator.util.highlightURL(node[1], false)]
for each (node in arrayIter(nodes)));
});
@@ -1289,7 +1289,8 @@ liberator.Buffer = function () //{{{
let opt = pageInfo[option];
if (opt)
return liberator.template.table(opt[1], opt[0](true));
else alert(option);
else
alert(option);
}, <br/>);
XML.prettyPrinting = false;
liberator.echo(list, liberator.commandline.FORCE_MULTILINE);