1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 02:24:13 +01:00

[PWPBM] Remove 'private'.

Fixes #1004.
This commit is contained in:
Doug Kearns
2013-08-24 21:35:28 +10:00
parent 7f3bc5ba0a
commit acb6805646
2 changed files with 0 additions and 30 deletions

View File

@@ -598,19 +598,6 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
},
options: function initOptions(dactyl, modules) {
const options = modules.options;
if (services.has("privateBrowsing") && "privateBrowsingEnabled" in services.privateBrowsing)
options.add(["private", "pornmode"],
"Set the 'private browsing' option",
"boolean", false,
{
initialValue: true,
getter: function () services.privateBrowsing.privateBrowsingEnabled,
setter: function (value) {
if (services.privateBrowsing.privateBrowsingEnabled != value)
services.privateBrowsing.privateBrowsingEnabled = value;
},
persist: false
});
options.add(["sanitizeitems", "si"],
"The default list of private items to sanitize",