Newtab background color changes new tabs but not startup page
Hi, so I wanted my newtab page to be dark and customized it by editing the userContent.css with "@-moz-document url("about:newtab") {body { background-color: #121212 !important;}}"
It works fine when opening new tabs. The weird thing is that it doesn't change the background color of the "newtab" page that shows up when you start Firefox. I'm new to the whole userContent.css stuff so thanks for any help you can give!
被采纳的解决方案
There is a different internal "address" for that page. Try starting your rule this way:
@-moz-document url("about:newtab"), url("about:home") {
所有回复 (2)
选择的解决方案
There is a different internal "address" for that page. Try starting your rule this way:
@-moz-document url("about:newtab"), url("about:home") {
Thank you! I also found another solution which is described here: https://www.reddit.com/r/firefox/comments/7d1rwn/dark_new_tab/