Prevent firefox from blinding you when opening certain browser extensions in dark mode. This page was originally made to target NightTab's flashing bug upon opening a new tab, but it works for any addon.
- Go to
about:configand settoolkit.legacyUserProfileCustomizations.stylesheetsto true. This will allow you to load the style sheet. - Go to
about:profilesand open the root directory of the profile currently in use. - Add the
chromefolder from this repository to the profile folder. - Open the userContent.css file in a text editor.
- Open
about:addons, click on the settings gear, and click "Debug Addons". - Copy and replace
EXTENSION_UUID_HEREwith the targeted extension's Internal UUID. - Add an extra CSS rule if you have multiple extensions to target, or simply remove the
EXTENSION_UUID_HERE/from the first line of the CSS rule to target all of them. Remember to remove the trailing slash as included in the code block. - Restart firefox.