From f3379fd38ce32f8da4b78bb6aa57c29b37ec62cf Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 8 Aug 2023 23:57:27 +0200 Subject: Revert "firefox: Make FOUC less annoying" This reverts commit e868bfeca5501c7c02f1fc1013ea6cc7e79af043. Unfortunately, this causes some sites to be outright unreadable since they seem to rely on a certain set of default colors. Given that the FOUC is already pretty minimal in Firefox, I think it's really not worth breaking a bunch of sites just to get rid of the flashing, at least until we found a better way to prevent it entirely. Signed-off-by: aszlig --- pkgs/aszlig/firefox/default.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pkgs') diff --git a/pkgs/aszlig/firefox/default.nix b/pkgs/aszlig/firefox/default.nix index 05e0a095..12fb7786 100644 --- a/pkgs/aszlig/firefox/default.nix +++ b/pkgs/aszlig/firefox/default.nix @@ -91,13 +91,6 @@ in wrapFirefox firefoxNoSigning { lockPref('privacy.trackingprotection.socialtracking.enabled', true); lockPref('reader.color_scheme', 'dark'); - // Make flash of unstyled content less annoying by defaulting to - // Startpage's dark color scheme. - lockPref('browser.display.background_color', '#171B25'); - lockPref('browser.display.foreground_color', '#EBECF7'); - lockPref('browser.anchor_color', '#A7B1FC'); - lockPref('browser.visited_color', '#AD71BC'); - pref('browser.uiCustomization.state', ${jsString (builtins.toJSON { placements = { widget-overflow-fixed-list = []; -- cgit 1.4.1