Google Search Sidebar figuccio

Google search tools to sidebar.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name            Google Search Sidebar figuccio
// @namespace       https://greasyfork.org/users/237458
// @version         0.5
// @description     Google search tools to sidebar.
// @author          figuccio
// @match           https://*.google.com/*
// @match           https://*.google.it/*
// @match           https://*.google.fr/*
// @match           https://*.google.es/*
// @run-at          document-start
// @grant           GM_addStyle
// @icon            https://www.google.com/favicon.ico
// @license         MIT
// ==/UserScript==
//GM_addStyle("#hdtbMenus{display:block !important;position:absolute !important;top:8px !important;right:auto!important;}");//marzo 2024
GM_addStyle("#result-stats{display:none!important;}");/* Circa 261.000.000 risultati (0,61 secondi) nascosto */
(function() {
    'use strict';

 const interval = setInterval(() =>
    {
        var toolsButton = document.getElementById('hdtb-tls');
        if (toolsButton.getAttribute("aria-expanded") === "true") {

            clearInterval(interval);
        }
        else{toolsButton.click();
        }
    }, 250);
})();