From 93705a7d00b2b09ee9b5d036b71c5be79b8d10a1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 6 Dec 2018 11:52:41 +0100 Subject: Stop feeding a Firefox compat mode to AMO. Since AMO has removed all "legacy" extensions, they do not offer anything compatible with us any longer. We send the native UA to them from now on to always have it respond with "Only with Firefox". --- application/palemoon/app/profile/palemoon.js | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'application/palemoon/app/profile') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index 69f8f6651..907ac1fbf 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1152,19 +1152,6 @@ pref("toolkit.pageThumbs.minHeight", 180); pref("ui.key.menuAccessKeyFocuses", true); #endif -// ****************** domain-specific UAs ****************** - -// AMO needs "Firefox", obviously - pass on the OS (determined at build time) -#ifdef XP_UNIX -#ifdef XP_MACOSX -pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:27.0) Gecko/20100101 Firefox/27.0"); -#else -pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Linux; X11; rv:27.0) Gecko/20100101 Firefox/27.0"); -#endif -#else -pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0"); -#endif - // ****************** s4e prefs ****************** pref("status4evar.addonbar.borderStyle", false); pref("status4evar.addonbar.closeButton", false); -- cgit v1.2.3 From 3411dd5723fdcd7d2b5a8b08a9c2b6bea310b3c3 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 6 Dec 2018 22:23:58 +0100 Subject: Add an option to process favicons. This optimizes the size for UI display and strips animations. Default disabled. This resolves #899. --- application/palemoon/app/profile/palemoon.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application/palemoon/app/profile') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index 907ac1fbf..1c6016f0f 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -264,6 +264,9 @@ pref("browser.slowStartup.maxSamples", 5); pref("browser.enable_automatic_image_resizing", true); pref("browser.chrome.site_icons", true); pref("browser.chrome.favicons", true); +// If enabled, will process favicons by drawing them on a canvas, +// optimizing display size for the UI. This also strips animations. +pref("browser.chrome.favicons.process", false); // browser.warnOnQuit == false will override all other possible prompts when quitting or restarting pref("browser.warnOnQuit", true); // browser.showQuitWarning specifically controls the quit warning dialog. We -- cgit v1.2.3