Google Search Sidebar figuccio

Google search tools to sidebar.

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

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

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