mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-28 10:55:45 +01:00
@@ -1330,23 +1330,6 @@
|
|||||||
</description>
|
</description>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<tags>$&dactyl.idName;_RUNTIME</tags>
|
<tags>$&dactyl.idName;_RUNTIME</tags>
|
||||||
<tags>'rtp' 'runtimepath'</tags>
|
<tags>'rtp' 'runtimepath'</tags>
|
||||||
|
|||||||
@@ -598,19 +598,6 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
|
|||||||
},
|
},
|
||||||
options: function initOptions(dactyl, modules) {
|
options: function initOptions(dactyl, modules) {
|
||||||
const options = modules.options;
|
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"],
|
options.add(["sanitizeitems", "si"],
|
||||||
"The default list of private items to sanitize",
|
"The default list of private items to sanitize",
|
||||||
|
|||||||
Reference in New Issue
Block a user