azalea says

Firefox下使用用户自定义的样式表

很多网页都使用了层叠样式表(CSS),如果你厌倦了网页设计者定义的显示样式,或者你有特殊的偏好,那么用户自定义样式表可以提升你的浏览体验。

这里介绍了多种方法,可以对所有网页或特定网页使用自定义的样式表。以下步骤用于在Firefox下对所有网站使用用户自定义的样式表。

  1. 找到Firefox的profile,Linux下的默认目录是 ~/.mozilla/firefox/xxxxxxxx.default/ (xxxxxxxx是一个8位随机字符串)
  2. 在chrome子目录中, 创建一个名为userContent.css的CSS文件,编辑加入所需要的样式,比如: [css] /* userContent.css */ * { color: white !important; background-color: white !important; font-family: Verdana, sans-serif !important; } body { font-size: 24pt !important; } a:link { color: cyan !important; } a:visited { color: violet !important; } [/css]
  3. 保存 userContent.css文件然后重启Firefox.
CSS firefox internet · Tweet Edit