Google Font Size Reversion

Get back the former font size in google search

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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);
})();