elGoogle

Better "Гугал поиск"

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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         elGoogle
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Better "Гугал поиск"
// @author       ellatuk
// @match        https://www.google.com/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Function to add CSS styles
    function addGlobalStyle(css) {
        const head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        const style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    // Делаем гугал гуглам
    addGlobalStyle(`
        .lnXdpd {
            content: url('https://i7.imageban.ru/out/2024/07/20/eac25e8f5b8d656a7336d1fb7767b21c.png') !important;
            width: auto !important;
            height: auto !important;
        }
    `);

    // убираем нижний кринж
    addGlobalStyle(`
        #SIvCob {
            display: none !important;
        }
    `);

    // прям убираем этот кринж
    addGlobalStyle(`
        div[jscontroller="NzU6V"] * {
            color: transparent !important;
        }
    `);

    // поисковая строка может быть лучше!
    addGlobalStyle(`
        .RNNXgb {
            border-radius: 34px 14px !important;
            background-color: #121212 !important;
            border: 3px solid #1c1d1d !important;
            background: #121212 !important;
        }
        .Umvnrc {
            display: none !important;
        }
        .Ne6nSd {
            display: flex !important;
            align-items: center !important;
            padding: 1px !important;
            color: #121212 !important;
        }
        #gb {
            background-color: #161616 !important;
        }
    `);

    // убираем говно с экрана
    addGlobalStyle(`
        .gNO89b {
            display: none !important;
        }
    `);

    // вот теперь говна нет (почти)
    addGlobalStyle(`
        .RNmpXc {
            display: none !important;
        }
    `);

    // настоящий тёмный
    addGlobalStyle(`
        body {
            background-color: #161616 !important;
        }
    `);
})();