您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Get back the former font size in google search
// ==UserScript== // @name Google Font Size Reversion // @namespace https://greasyfork.org/users/163468 // @version 0.0.2 // @description Get back the former font size in google search // @author winderica // @include http://www.google.*/search* // @include https://www.google.*/search* // @grant none // ==/UserScript== (() => { 'use strict'; const css = ` .f, .f a:link, .m, .osl a, .st, .r, .rc .s, .P1usbc, .TbwUpd, .knowledge-panel.kp-blk .mod, .c14z5c .mod, .cbphWd { line-height: 1.54; } .g, body, html, input, .std, h1 { font-size: small; } #res h3, #extrares h3, .e2BEnf, .garHBe { font-size: 18px; line-height: 1.33; } .g { margin-bottom: 26px; } .iUh30 { font-size: 14px; line-height: 1.43; } .r a.fl { font-size: 14px; } .dPAwzb, .dPAwzb a { line-height: 1.33; } .TbwUpd a.fl { font-size: 14px; } .Uekwlc { font-size: 13px; } .LC20lb { line-height: 1.33; } .TbwUpd { padding-bottom: 1px; } .JolIg { font-size: 18px; line-height: 1.33; } .kcHZBe { line-height: 1.375; } .gv607c:link, .gv607c:visited { line-height: 1.43; } .fm06If .NA6bn, .HSryR .NA6bn, .c2xzTb .ILfuVd.duSGDe, .c2xzTb .NA6bn.c3biWd { font-size: 13px; line-height: 1.54; } .LjTgvd .rjOVwe.ILfuVd { font-size: 13px; } `; const style = document.createElement('style'); style.appendChild(document.createTextNode(css)); document.body.appendChild(style); })();