summaryrefslogtreecommitdiffstats
path: root/webbrowser/branding/unstable/pref
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-04-20 20:49:37 -0700
committerThomas Groman <tgroman@nuegia.net>2020-04-20 20:49:37 -0700
commitf9cab004186edb425a9b88ad649726605080a17c (patch)
treee2dae51d3144e83d097a12e7a1499e3ea93f90be /webbrowser/branding/unstable/pref
parentf428692de8b59ab89a66502c079e1823dfda8aeb (diff)
downloadwebbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.gz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.lz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.tar.xz
webbrowser-f9cab004186edb425a9b88ad649726605080a17c.zip
move browser to webbrowser/
Diffstat (limited to 'webbrowser/branding/unstable/pref')
-rw-r--r--webbrowser/branding/unstable/pref/palemoon-branding.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/webbrowser/branding/unstable/pref/palemoon-branding.js b/webbrowser/branding/unstable/pref/palemoon-branding.js
new file mode 100644
index 0000000..2cd64fa
--- /dev/null
+++ b/webbrowser/branding/unstable/pref/palemoon-branding.js
@@ -0,0 +1,46 @@
+#filter substitution
+#filter emptyLines
+#include ../../shared/pref/preferences.inc
+#include ../../shared/pref/uaoverrides.inc
+
+pref("startup.homepage_override_url","http://www.palemoon.org/unstable/releasenotes.shtml");
+pref("app.releaseNotesURL", "http://www.palemoon.org/unstable/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)
+// Enable auto-updates for this channel
+pref("app.update.auto", true);
+
+// Updates enabled
+pref("app.update.enabled", true);
+pref("app.update.cert.checkAttributes", true);
+
+// Interval: Time between checks for a new version (in seconds) -- 6 hours for unstable
+pref("app.update.interval", 21600);
+pref("app.update.promptWaitTime", 86400);
+
+// URL user can browse to manually if for some reason all update installation
+// attempts fail.
+#ifndef XP_LINUX
+pref("app.update.url.manual", "http://www.palemoon.org/unstable/");
+#else
+pref("app.update.url.manual", "http://linux.palemoon.org/download/unstable/");
+#endif
+// A default value for the "More information about this update" link
+// supplied in the "An update is available" page of the update wizard.
+#ifndef XP_LINUX
+pref("app.update.url.details", "http://www.palemoon.org/unstable/");
+#else
+pref("app.update.url.details", "http://linux.palemoon.org/download/unstable/");
+#endif
+
+#else
+// Updates disabled (Mac, etc.)
+pref("app.update.enabled", false);
+pref("app.update.url", "");
+#endif