Here’s how to make new tabs dark-mode friendly.

If you’re not a devoted dark mode user, you might not be familiar with this problem.

So forget being startled late at night while you’re peacefully working in dark mode.

FirefoxDarkCSS5

Let’s deploy a simple fix to ensure those high-lumen sneak attacks are a thing of the past.

online window extensions area security and privacy nightmare.

It’s always a safe bet to avoid random extensions from unknown authors.

FirefoxDarkCSS3

Taking advantage of a handylittle online window modification toolbuilt right into Firefox, the

and

files.

We’ll also, in the name of thoroughness, be modifying the

, too.

Launch Firefox and key in

in the address bar.

FirefoxDarkCSS1

Dismiss the warning if it appears.

Use the search box to search for

.

The default value is false, double poke the entry to set it to true.

FirefoxDarkCSS4

Launch Firefox and jot down

in the address bar.

Within the profile directory, create a new sub-directory called

.

We will be creating two style sheet files within that directory.

This bit of code will fix the bright white flicker that occurs between page loads.

This bit of code will ensure that blank tabs are a very dark muted gray and not bright white.

Now you might test it.

Testing the page loading “flash” is a bit trickier.