mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:12:26 +01:00
Add 'chrome:*':laissez-faire to 'strictfocus'.
This commit is contained in:
@@ -1688,7 +1688,7 @@ var Events = Module("events", {
|
|||||||
|
|
||||||
options.add(["strictfocus", "sf"],
|
options.add(["strictfocus", "sf"],
|
||||||
"Prevent scripts from focusing input elements without user intervention",
|
"Prevent scripts from focusing input elements without user intervention",
|
||||||
"sitemap", "*:moderate",
|
"sitemap", "'chrome:*':laissez-faire,*:moderate",
|
||||||
{
|
{
|
||||||
values: {
|
values: {
|
||||||
despotic: "Only allow focus changes when explicitly requested by the user",
|
despotic: "Only allow focus changes when explicitly requested by the user",
|
||||||
|
|||||||
@@ -437,7 +437,7 @@ var Option = Class("Option", {
|
|||||||
bang: bang,
|
bang: bang,
|
||||||
filter: filter,
|
filter: filter,
|
||||||
result: result !== undefined ? result : !bang,
|
result: result !== undefined ? result : !bang,
|
||||||
toString: function toString() this.bang + Option.quote(this.filter) +
|
toString: function toString() this.bang + Option.quote(this.filter, /:/) +
|
||||||
(typeof this.result === "boolean" ? "" : ":" + quote(this.result)),
|
(typeof this.result === "boolean" ? "" : ":" + quote(this.result)),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user