Bright white flashes on opening new tabs and new windows when using Dark Mode.

The place to report Pale Moon specific bugs on the Windows operating system.
Post Reply
petrov
Moongazer
Moongazer
Posts: 14
Joined: 2018-03-05, 11:48

Bright white flashes on opening new tabs and new windows when using Dark Mode.

Post by petrov » 2020-01-14, 14:31

https://www.youtube.com/watch?v=_AEZuHI6xIw

Like this https://bugzilla.mozilla.org/show_bug.cgi?id=1488384

Closed Bug 1488384 Opened Last year Closed 9 months ago
Bright white flashes on opening new tabs and page reload when using Dark Mode or Firefox Dark theme

Lew Rockwell Fan
Fanatic
Fanatic
Posts: 190
Joined: 2017-06-14, 15:20

Re: Bright white flashes on opening new tabs and new windows when using Dark Mode.

Post by Lew Rockwell Fan » 2020-01-28, 07:34

FWIW, while I've never been able to get rid of white flash in Ffx, in PM, with the "Page Colors and Fonts" extension set to open pages in w on b, and an appropriate theme in my window manager, I have none in PM.
"To attempt to silence a man is to pay him homage, for it is an acknowledgement that his arguments are both impossible to answer and impossible to ignore." - John Bryant

User avatar
letmeindude
Moonbather
Moonbather
Posts: 53
Joined: 2018-10-09, 08:56

Re: Bright white flashes on opening new tabs and new windows when using Dark Mode.

Post by letmeindude » 2020-01-28, 15:00

The best code I've found to prevent these white flashes (using userContent.css or Stylem extension):

Code: Select all

/* PREVENT WHITE PRE-LOAD FLASH */
@-moz-document url("about:blank") {head:empty + body:empty {background:#004CD0;}}
@-moz-document url("about:newtab") {#newtab-window, html {background:#004CD0;}}
browser[type="content-primary"] {background:#004CD0;}
tabbrowser tabpanels, #appcontent > #content {background:#004CD0;}
Found it here: https://forum.userstyles.org/discussion ... ain-unless

Just replace #004CD0 with whatever you want.

Post Reply