Is there possibilty to change NATIVELY color of loaded pages to plack? Addons tend to be not sufficient.
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).
Всички отговори (6)
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:
A great place to ask for style rule tweaks is:
I applied all tricks from reddit and stylish, but new:tab is still white.
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/
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 */ }
I switched to ShadowFox, but nothing happened :/
Antinatalist said
I switched to ShadowFox, but nothing happened :/
Sorry, but what does that mean -- what is ShadowFox?