您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes wikipedia easier to read (smaller line length, cleaner). See https://github.com/nixterrimus/readable-wikipedia.
当前为
// ==UserScript== // @name Readable Wikipedia // @description Makes wikipedia easier to read (smaller line length, cleaner). See https://github.com/nixterrimus/readable-wikipedia. // @namespace https://github.com/nixterrimus/readable-wikipedia // @include http*://*.wikipedia.org/** // @version 1.0 // @resource readableWikipediaCss https://raw.github.com/nixterrimus/readable-wikipedia/master/readable.css // @grant GM_addStyle // @grant GM_getResourceText // ==/UserScript== var cssSrc = GM_getResourceText ("readableWikipediaCss"); GM_addStyle (cssSrc); document.getElementById("References").parentNode.nextSibling.nextSibling.style.display = "none" addStyle( "body{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto; text-align:justify}" + "a, a:visited {color: rgb(43, 119, 189) !important}" + "#mw-head {display: none}" + "div#content {width: 600px !important; padding-top: 1em !important}" ) function addStyle(styleString) { var style = dom("<style type='text/css'>" + styleString + "</style>") var head = document.getElementsByTagName('head')[0] head.appendChild(style); } function dom(nodeString) { var div = document.createElement('div'); div.innerHTML = nodeString return div.firstChild }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址