Greasy Fork is available in English.

Html5plus_link_color

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

  1. // ==UserScript==
  2. // @name Html5plus_link_color
  3. // @namespace undefined
  4. // @version 0.3
  5. // @description 重置html5plus.org文档中的链接文字颜色
  6. // @author Jack.Chan
  7. // @match *://*.html5plus.org/*
  8. // @run-at document-start
  9. // @home-url https://greasyfork.org/zh-CN/scripts/31995-html5plus-link-color
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. var style = document.createElement('style');
  17. style.id = 'fucking-style';
  18. style.innerHTML = '.article a[href]{color:mediumblue !important}';
  19. style.innerHTML+= '.article a[href]:hover, .aside>ul>li>a[href]:hover{text-decoration:underline !important}';
  20. style.innerHTML+= '.aside>ul>li>a[href][style]{color:red !important}';
  21. document.head.appendChild(style);
  22. })();