1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

new popups=4 option

This commit is contained in:
Martin Stubenschrott
2008-05-24 12:02:50 +00:00
parent 9b3a00f3fd
commit b8dcad1d51
6 changed files with 11 additions and 3 deletions

View File

@@ -107,11 +107,12 @@ liberator.Tabs = function () //{{{
var values = [[0, 1], // always in current tab
[0, 3], // in a new tab
[2, 3], // in a new window if it has specified sizes
[1, 2]];// always in new window
[1, 2], // always in new window
[2, 1]];// current tab unless it has specified sizes
liberator.options.setPref("browser.link.open_newwindow.restriction", values[value][0]);
liberator.options.setPref("browser.link.open_newwindow", values[value][1]);
},
validator: function (value) { return (value >= 0 && value <= 3); }
validator: function (value) { return (value >= 0 && value <= 4); }
});
liberator.options.add(["showtabline", "stal"],