diff --git a/common/content/events.js b/common/content/events.js index 3be14fff..7cb3ded2 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -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", diff --git a/common/modules/options.jsm b/common/modules/options.jsm index 6f98e157..b930c8fd 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -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)), }); },