Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there possibilty to change NATIVELY color of loaded pages to plack? Addons tend to be not sufficient.

more options

Is there possibilty to change NATIVELY color of loaded pages to plack? Addons tend to be not sufficient (because just before addon starts working, there is white page for half of the second).

Is there possibilty to change NATIVELY color of loaded pages to plack? Addons tend to be not sufficient (because just before addon starts working, there is white page for half of the second).

All Replies (6)

more options

It's a little complicated. A lot of pages are designed for a white background, so if you globally plug in a dark background, they may become unreadable. However, it's worth a try to see what you think.

The tools for this job are:

(1) A userChrome.css file to color the "shell" that pages are loaded into. This shell appears briefly in some situations as a "white flash". This generally works well for new tabs in the same window.

(2) A userContent.css file to create a global background color for HTML pages (especially for new windows).

I don't know of an ideal recipe, but you could start here:

https://www.reddit.com/r/firefox/comments/6s2l0w/removing_the_white_flash_before_a_page_loads/dl9t14q/

A great place to ask for style rule tweaks is:

https://www.reddit.com/r/FirefoxCSS/

more options

I applied all tricks from reddit and stylish, but new:tab is still white.

more options

Okay, that must be a rule in the page itself. Is it the page with the numerous categories ("Activity Stream" design) or some other page?

For the "Activity Stream" version of the new tab page, see: https://www.reddit.com/r/firefox/comments/7ax974/how_do_i_remove_the_white_flash_when_a_tab_loads/dpdijc6/

more options

Note that Stylish can't modify builtin about pages since those are XUL pages. You need to use userContent.css to be able to do this (about pages behave like web page and thus need userContent.css and not userChrome.css).

@-moz-document url(about:newtab){
 /* your CSS rules */
}
more options

I switched to ShadowFox, but nothing happened :/

more options

Antinatalist said

I switched to ShadowFox, but nothing happened :/

Sorry, but what does that mean -- what is ShadowFox?