1、浏览器输入“ about:support ”,打开配置目录
2、配置目录下新建一个chrome名字的目录,目录中新建userContent.css文件 并把图片文件放进目录 userContent.css代码中的002.jpg换成自己的图片名
userContent.css内容
@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {
.top-site-button .title, .context-menu-button {
color: #fff !important ;
text-shadow: 2px 2px 2px #222 !important ;
}
.logo-and-wordmark {
display: none !important;
}
body {
--newtab-topsites-outer-card-hover:rgba(255, 255, 255, 0.4) !important;
--newtab-element-hover-color: rgba(255, 255, 255, 0.3) !important;
}
body::before {
content: "" ;
z-index: -1 ;
position: fixed ;
top: 0 ;
left: 0 ;
background:radial-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.75)), no-repeat url(002.jpg) center ;
background-size: cover ;
width: 100vw ;
height: 100vh ;
}
}
3、输入“about:config
” ,搜索toolkit.legacyUserProfileCustomizations.stylesheets
并将其改为 true,最后重启浏览器就成功了