summaryrefslogtreecommitdiffstats
path: root/branding/official/pref
diff options
context:
space:
mode:
Diffstat (limited to 'branding/official/pref')
-rw-r--r--branding/official/pref/palemoon-branding.js35
1 files changed, 35 insertions, 0 deletions
diff --git a/branding/official/pref/palemoon-branding.js b/branding/official/pref/palemoon-branding.js
new file mode 100644
index 0000000..02e75b6
--- /dev/null
+++ b/branding/official/pref/palemoon-branding.js
@@ -0,0 +1,35 @@
+#filter substitution
+#filter emptyLines
+#include ../../shared/pref/preferences.inc
+#include ../../shared/pref/uaoverrides.inc
+
+pref("startup.homepage_override_url","http://www.palemoon.org/releasenotes.shtml");
+pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes.shtml");
+
+// Enable Firefox compatmode by default.
+pref("general.useragent.compatMode", 2);
+pref("general.useragent.compatMode.gecko", true);
+pref("general.useragent.compatMode.firefox", true);
+
+// ========================= updates ========================
+#if defined(XP_WIN) || defined(XP_LINUX)
+// Updates enabled
+pref("app.update.enabled", true);
+pref("app.update.cert.checkAttributes", true);
+
+// Interval: Time between checks for a new version (in seconds) -- 2 days for Pale Moon
+pref("app.update.interval", 172800);
+pref("app.update.promptWaitTime", 86400);
+
+// URL user can browse to manually if for some reason all update
+// installation attempts fail.
+pref("app.update.url.manual", "http://www.palemoon.org/");
+
+// A default value for the "More information about this update" link
+// supplied in the "An update is available" page of the update wizard.
+pref("app.update.url.details", "http://www.palemoon.org/releasenotes.shtml");
+#else
+// Updates disabled (Mac, etc.)
+pref("app.update.enabled", false);
+pref("app.update.url", "");
+#endif