mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 02:52:32 +02:00
new popups=4 option
This commit is contained in:
1 parent
9b3a00f3fd
commit
b8dcad1d51
6 files changed
+11
-3
No files matched your search
+1
-1
@@ -381,7 +381,7 @@ liberator.Options = function () //{{{
|
||||
}
|
||||
|
||||
// 1 2 3 4 5 6
|
||||
var matches = args.match(/^\s*(no|inv)?([a-z]+)([?&!])?\s*(([+-^]?)=(.*))?\s*$/);
|
||||
var matches = args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?\s*(([+-^]?)=(.*))?\s*$/);
|
||||
if (!matches)
|
||||
{
|
||||
liberator.echoerr("E518: Unknown option: " + args);
|
||||
|
||||
+3
-2
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user