修改chrome背景色

参考:http://blog.csdn.net/jvortex/article/details/73895288

 

1、新建一个文件夹,比如customcss,包含custom.css和manifest.json两个文件

 

2、manifest.json的内容如下, description是扩展介绍,name是扩展名字,version是版本号,都可以自己改

  

{
   "content_scripts": [ {
      "css": ["custom.css"],
      "all_frames": true,
      "matches": [ "http://*/*", "https://*/*" ]
   } ],
   "description": "custom.css",
   "name": "Custom CSS",
   "version": "1.0",
   "manifest_version": 2
}

 

3. custom.css的内容如下
 
  html, body {background-color: #CCE8CC!important}
 
4. 在chrome的setting -> extensions 页面,点load unpacked extension, 选择以上文件夹即可。

 

 

posted @ 2018-01-29 15:46  Pekkle  阅读(302)  评论(0编辑  收藏  举报