您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show the "search tools"" menu on Google search results instead of result-count and query-speed.
当前为
// ==UserScript== // @name GollyJer's Auto-Expand Google Search Tools // @description Show the "search tools"" menu on Google search results instead of result-count and query-speed. // @namespace gollyjer.com // @version 1.3 // @include /^https?\:\/\/(www|news|maps|docs|cse|encrypted)\.google\./ // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js // @require https://gf.qytechs.cn/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=19641 // @grant GM_addStyle // ==/UserScript== /* globals $, waitForKeyElements */ // Hide the Search Tools button. GM_addStyle("#hdtb-tls { display: none !important; }"); // Speed up visibility of the Seach Tools menu by removing the animation. GM_addStyle("#hdtbMenus { transition: none !important; }"); // Show the Search Tools menu. waitForKeyElements("#hdtb-tls", clickNodeUntilItSticks); function clickNodeUntilItSticks(jNode) { var searchToolbar = $("#hdtbMenus")[0]; var sanityCount = 1; var menusVisiblePoller = setInterval(function() { if ( sanityCount < 20 && searchToolbar.offsetWidth === 0 && searchToolbar.offsetHeight === 0 ) { jNode[0].click(); } else { clearInterval(menusVisiblePoller); } }, 88); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址