mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:37:59 +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"],
|
||||
"Prevent scripts from focusing input elements without user intervention",
|
||||
"sitemap", "*:moderate",
|
||||
"sitemap", "'chrome:*':laissez-faire,*:moderate",
|
||||
{
|
||||
values: {
|
||||
despotic: "Only allow focus changes when explicitly requested by the user",
|
||||
|
||||
@@ -437,7 +437,7 @@ var Option = Class("Option", {
|
||||
bang: bang,
|
||||
filter: filter,
|
||||
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)),
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user