Greasy Fork

Greasy Fork is available in English.

Google Search Sidebar figuccio

Google search tools to sidebar.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name            Google Search Sidebar figuccio
// @namespace       http://greasyfork.icu/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);
})();