Firefox 57+后找不到足够好用的标签页类扩展,因此只能用userContent.css自定义原生起始页和新标签页
在Firefox配置文件夹的chrome文件夹下创建一个文本文档(Firefox配置文件夹可以通过地址栏输入about:support找到然后打开,一般来说会在C:\Users\用户名\AppData\Roaming\Mozilla\Firefox\Profiles\字符\chrome;如果没有chrome文件夹就自己创建一个)
在文本文档内输入CSS,例如:
@-moz-document url(about:newtab),url(about:home) {
.activity-stream {
background-image: url(snowmiku1263901.jpg) !important;
background-size:cover !important;/*cover or contain*/
background-attachment: fixed !important;
}
@然来运转 (min-width: 1280px) {
.activity-stream main {
width: 610px !important;
margin-left: 70px !important;
margin-top: 100px !important;
}
}
}
然后将txt文档改名为userContent.css,并且把所需的图片放入同一文件夹,上例即snowmiku1263901.jpg
也可以把about:newtab和about:home分开两段来写,这样起始页和新标签页将有不同的样式
效果图:
另外Firefox 56以下倒是可以用Customize about:newtab这个扩展来自定义,可惜不支持Firefox Quantum
在Firefox配置文件夹的chrome文件夹下创建一个文本文档(Firefox配置文件夹可以通过地址栏输入about:support找到然后打开,一般来说会在C:\Users\用户名\AppData\Roaming\Mozilla\Firefox\Profiles\字符\chrome;如果没有chrome文件夹就自己创建一个)
在文本文档内输入CSS,例如:
@-moz-document url(about:newtab),url(about:home) {
.activity-stream {
background-image: url(snowmiku1263901.jpg) !important;
background-size:cover !important;/*cover or contain*/
background-attachment: fixed !important;
}
@然来运转 (min-width: 1280px) {
.activity-stream main {
width: 610px !important;
margin-left: 70px !important;
margin-top: 100px !important;
}
}
}
然后将txt文档改名为userContent.css,并且把所需的图片放入同一文件夹,上例即snowmiku1263901.jpg
也可以把about:newtab和about:home分开两段来写,这样起始页和新标签页将有不同的样式
效果图:
另外Firefox 56以下倒是可以用Customize about:newtab这个扩展来自定义,可惜不支持Firefox Quantum