mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
dd more rudimentary completion for options 'activate', 'pageinfo', 'newtab'
and 'popups'
This commit is contained in:
@@ -167,6 +167,14 @@ liberator.Buffer = function () //{{{
|
||||
|
||||
liberator.options.add(["pageinfo", "pa"], "Desired info on :pa[geinfo]", "charlist", "gfm",
|
||||
{
|
||||
completer: function (filter)
|
||||
{
|
||||
return [
|
||||
["g", "General info"],
|
||||
["f", "Feeds"],
|
||||
["m", "Meta tags"]
|
||||
];
|
||||
},
|
||||
validator: function (value) { return !(/[^gfm]/.test(value) || value.length > 3 || value.length < 1); }
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user