Revert Google search

Alters Google search results to have the old design without favicons

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Revert Google search
// @description Alters Google search results to have the old design without favicons
// @run-at      document-end
// @version     0.3
// @namespace   com.example
// @include     https://www.google.com/search?*
// @require     https://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==

(function() {
  $(".r").find("a").each(function() {
    $(this).find("br").remove();
    $(this).append("<br/>");

    // URL and favicon bar
    $(this).find(".TbwUpd").detach().appendTo($(this).parent());
    $(this).parent().find(".TbwUpd").find("cite").css("color", "#026F24");
    $(this).parent().find(".TbwUpd").css("vertical-align", "top");

    // Google cache little arrow
    $(this).parent().find(".yWc32e").detach().appendTo($(this).parent());
    $(this).parent().find(".yWc32e").css("padding-top", "0px");
    $(this).parent().find(".yWc32e").css("padding-bottm", "0px");

    // URL and favicon bar
    $(this).parent().find(".B6fmyf").remove();

    // Main title
    $(this).find(".LC20lb").css("margin-bottom", "0px");
  });
  // Favicon
  $(".xA33Gc").remove();
})();