Revert Google search

Alters Google search results to have the old design without favicons

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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