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

added :tablast etc. commands

This commit is contained in:
Martin Stubenschrott
2007-05-08 16:57:08 +00:00
parent cfa855ad10
commit 4a963c2441
6 changed files with 63 additions and 7 deletions

View File

@@ -194,10 +194,24 @@ function help(section, easter)
'\n</td></tr></table>\n</pre></body>\n</html>';
doc.open();
try
{
doc.open();
}
catch(e)
{
// when the url is "about:" the doc is not open
// then open a new tab for it
//if (!arguments[3] || !arguments[3].inTab)
// help(section, false, {inTab: true});
openURLsInNewTab("", true);
doc = window.content.document;
doc.open();
}
doc.write(fulldoc);
doc.close();
function cumulativeOffset(element)
{
var valueT = 0, valueL = 0;