您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
调整了主题标题、具体页正文的字体大小和行距,看着更顺眼一点。
// ==UserScript== // @name Discuz!论坛字体大小调整 // @author 仙圣 // @namespace https://greasyfork.org/users/76579 // @include */forum* // @include */viewthread.php* // @include */thread* // @include */redirect.php* // @include */bbs/forum* // @include */bbs/viewthread.php* // @include */bbs/thread* // @include */bbs/redirect.php* // @version 0.2 // @description 调整了主题标题、具体页正文的字体大小和行距,看着更顺眼一点。 // ==/UserScript== (function() { function addStyle(rules) { var styleElement = document.createElement('style'); styleElement.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(styleElement); styleElement.appendChild(document.createTextNode(rules)); } addStyle('.xst,#thread_subject,.t_f { line-height: 30px;font-size: 18px;}'); })();