summaryrefslogtreecommitdiffstats
path: root/browser/branding/shared/preferences.inc
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
commit8a119434ac94d18b888550bea1b125aba1ad446e (patch)
tree52b0e3bb47f74253f3f97f5f7f9e297edd4dc335 /browser/branding/shared/preferences.inc
parent050cfdc4cabb50df1a3f0005e967359dc800131e (diff)
parent170b82c2e254d3aa9b4e5f31f26dc89283a472a6 (diff)
downloadUXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.gz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.lz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.xz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.zip
Merge branch 'stub-branding-cc'
Diffstat (limited to 'browser/branding/shared/preferences.inc')
-rw-r--r--browser/branding/shared/preferences.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/browser/branding/shared/preferences.inc b/browser/branding/shared/preferences.inc
new file mode 100644
index 000000000..08f6c950b
--- /dev/null
+++ b/browser/branding/shared/preferences.inc
@@ -0,0 +1,33 @@
+// Interval: Time between checks for a new version (in seconds)
+pref("app.update.interval", 86400); // 1 day
+
+// The time interval between the downloading of mar file chunks in the
+// background (in seconds)
+// 0 means "download everything at once"
+pref("app.update.download.backgroundInterval", 0);
+
+// Give the user x seconds to react before showing the big UI. default=192 hours
+pref("app.update.promptWaitTime", 691200);
+
+// The number of days a binary is permitted to be old
+// without checking for an update. This assumes that
+// app.update.checkInstallTime is true.
+pref("app.update.checkInstallTime.days", 14);
+
+// Give the user x seconds to reboot before showing a badge on the hamburger
+// button. default=immediately
+pref("app.update.badgeWaitTime", 0);
+
+// Number of usages of the web console or scratchpad.
+// If this is less than 5, then pasting code into the web console or scratchpad is disabled
+pref("devtools.selfxss.count", 100);
+
+// Disable Google Safebrowsing by default. Without an API key, this won't work.
+pref("browser.safebrowsing.phishing.enabled", false);
+pref("browser.safebrowsing.malware.enabled", false);
+pref("browser.safebrowsing.downloads.enabled", false);
+pref("browser.safebrowsing.downloads.remote.enabled", false);
+
+// Disable the UI controls for it as well for Basilisk-official.
+pref("browser.safebrowsing.UI.enabled", false);
+