palemoon-branding.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #filter substitution
  2. #filter emptyLines
  3. #include ../../shared/pref/preferences.inc
  4. #include ../../shared/pref/uaoverrides.inc
  5. pref("startup.homepage_override_url","http://www.palemoon.org/releasenotes.shtml");
  6. pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes.shtml");
  7. // Enable Firefox compatmode by default.
  8. pref("general.useragent.compatMode", 2);
  9. pref("general.useragent.compatMode.gecko", true);
  10. pref("general.useragent.compatMode.firefox", true);
  11. // Enable dynamic UA updates
  12. pref("general.useragent.updates.enabled", true);
  13. pref("general.useragent.updates.interval", 86400); // Once per day
  14. pref("general.useragent.updates.retry", 7200); // Retry getting update every 2 hours if failed
  15. pref("general.useragent.updates.url", "https://dua.palemoon.org/?app=palemoon&version=%APP_VERSION%&channel=%CHANNEL%");
  16. // Geolocation
  17. pref("geo.wifi.uri", "https://pro.ip-api.com/json/?fields=lat,lon,status,message&key=K3TirHYiysBjnmD");
  18. // ========================= updates ========================
  19. #if defined(XP_WIN) || defined(XP_LINUX)
  20. // Updates enabled
  21. pref("app.update.enabled", true);
  22. pref("app.update.cert.checkAttributes", true);
  23. pref("app.update.certs.1.issuerName", "CN=COMODO RSA Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB");
  24. pref("app.update.certs.1.commonName", "*.palemoon.org");
  25. pref("app.update.certs.2.issuerName", "CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB");
  26. pref("app.update.certs.2.commonName", "*.palemoon.org");
  27. // Interval: Time between checks for a new version (in seconds) -- 2 days for Pale Moon
  28. pref("app.update.interval", 172800);
  29. pref("app.update.promptWaitTime", 86400);
  30. // URL user can browse to manually if for some reason all update
  31. // installation attempts fail.
  32. pref("app.update.url.manual", "http://www.palemoon.org/");
  33. // A default value for the "More information about this update" link
  34. // supplied in the "An update is available" page of the update wizard.
  35. pref("app.update.url.details", "http://www.palemoon.org/releasenotes.shtml");
  36. #else
  37. // Updates disabled (Mac, etc.)
  38. pref("app.update.enabled", false);
  39. pref("app.update.url", "");
  40. #endif