Greasy Fork 还支持 简体中文。

Html5plus_link_color

重置html5plus.org文档中的链接文字颜色

目前為 2017-08-04 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Html5plus_link_color
  3. // @namespace undefined
  4. // @version 0.1
  5. // @description 重置html5plus.org文档中的链接文字颜色
  6. // @author Jack.Chan
  7. // @match *://*.html5plus.org/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. var style = [];
  15. style.push('<style type="text/css">');
  16. style.push('.article a[href]{color:mediumblue !important}');
  17. style.push('.article a[href]:hover, .aside>ul>li>a[href]:hover{text-decoration:underline !important}');
  18. style.push('.aside>ul>li>a[href][style]{color:red !important}');
  19. style.push('</style>');
  20. var el = document.createElement('div');
  21. el.id = 'fucking-style';
  22. el.innerHTML = style.join('');
  23. document.body.appendChild(el);
  24. })();