1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:12:28 +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

@@ -1330,23 +1330,6 @@
</description>
</item>
<item>
<tags>'noprivate' 'private'</tags>
<spec>'private'</spec>
<type>&option.private.type;</type>
<default>&option.private.default;</default>
<description>
<p>
Set the <str>private browsing</str> option. In private browsing mode
history, cache files, cookies, form data, passwords, download list
entries, local and URL <t>marks</t>, <t>command-line</t> history
and macros are available only for the duration of the private
browsing session and deleted when returning to normal browsing
mode. See also <t>privacy</t>.
</p>
</description>
</item>
<item>
<tags>$&dactyl.idName;_RUNTIME</tags>
<tags>'rtp' 'runtimepath'</tags>

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",