重置html5plus.org文档中的链接文字颜色
当前为
// ==UserScript==
// @name Html5plus_link_color
// @namespace undefined
// @version 0.1
// @description 重置html5plus.org文档中的链接文字颜色
// @author Jack.Chan
// @match *://*.html5plus.org/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var style = [];
style.push('<style type="text/css">');
style.push('.article a[href]{color:mediumblue !important}');
style.push('.article a[href]:hover, .aside>ul>li>a[href]:hover{text-decoration:underline !important}');
style.push('.aside>ul>li>a[href][style]{color:red !important}');
style.push('</style>');
var el = document.createElement('div');
el.id = 'fucking-style';
el.innerHTML = style.join('');
document.body.appendChild(el);
})();