mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:07:58 +01:00
newtab option, and better :tab behavior, thanks teramako
This commit is contained in:
@@ -228,7 +228,12 @@ liberator.config = {
|
||||
|
||||
liberator.commands.add(["downl[oads]", "dl"],
|
||||
"Show progress of current downloads",
|
||||
function () { liberator.open("chrome://mozapps/content/downloads/downloads.xul", liberator.NEW_TAB); });
|
||||
function ()
|
||||
{
|
||||
liberator.open("chrome://mozapps/content/downloads/downloads.xul",
|
||||
(liberator.options.newtab == "all" || liberator.options.newtab.split(",").indexOf("downloads") != -1) ?
|
||||
liberator.NEW_TAB : liberator.CURRENT_TAB);
|
||||
});
|
||||
|
||||
liberator.commands.add(["o[pen]", "e[dit]"],
|
||||
"Open one or more URLs in the current tab",
|
||||
|
||||
Reference in New Issue
Block a user