Google Font Size Reversion

Get back the former font size in google search

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

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