Automatically Hide Ruby / Furigana

Does what it says on the tin?

目前为 2016-03-25 提交的版本。查看 最新版本

// ==UserScript==
// @name        Automatically Hide Ruby / Furigana
// @namespace   autoHideRubyKK
// @description Does what it says on the tin?
// @version     1.1
// @grant       none
// @exclude     *youtube.com*
// ==/UserScript==

window.onload = function thisF(){
	javascript: (function() {
	    var newcss = "ruby rt{ visibility:hidden; } ruby:hover rt{ visibility:visible; }";
	    if ("\v" == "v") {
	        document.createStyleSheet().cssText = newcss
	    } else {
	        var tag = document.createElement("style");
	        tag.type = "text/css";
	        document.getElementsByTagName("head")[0].appendChild(tag);
	        tag[(typeof document.body.style.WebkitAppearance == "string") ? "innerText" : "innerHTML"] = newcss
	    }
	})();
}