From d664ea091eafc2a8797d8986c22617b551253986 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 24 Mar 2020 12:12:39 +0100 Subject: [PATCH] Enable "legacy" user profile customizations (#239) As of Firefox version 69, the `userChrome.css` and `userContent.css` files are not loaded by default anymore [1] in order to improve the performance during browser startup. Also see the documentation about Firefox breaking changes of `userChrome.css` [2]. To achieve the previous behavior, the option to load such "legacy" files has now been enabled again. [1]: https://www.mozilla.org/en-US/firefox/69.0/releasenotes/#note-788117 [2]: https://www.userchrome.org/firefox-changes-userchrome-css.html Closes GH-228 --- snowblocks/firefox/user.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/snowblocks/firefox/user.js b/snowblocks/firefox/user.js index 354a048..76951a1 100644 --- a/snowblocks/firefox/user.js +++ b/snowblocks/firefox/user.js @@ -520,6 +520,16 @@ user_pref("signon.generation.enabled", false); */ user_pref("signon.rememberSignons", true); +/* + * As of Firefox version 69, the ` userChrome.css` and `userContent.css` files are not loaded by default anymore + * in order to improve the performance during browser startup. + * To achieve the previous behavior, this option enables the loading of such "legacy" files again. + * References: + * - https://www.userchrome.org/firefox-changes-userchrome-css.html + * - https://www.mozilla.org/en-US/firefox/69.0/releasenotes/#note-788117 + */ +user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); + /* Set the available values for zoom levels in percent. */ user_pref("toolkit.zoomManager.zoomValues", ".1,.2,.3,.4,.5,.6,.7,.8,.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,3.9,4,4.1,4.2,4.3,4.4,4.5,4.6,4.7,4.8,4.9,5");