您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
启动 Felo Search 后自动收起侧边栏
// ==UserScript== // @name 收起 Felo Search 侧边栏 // @namespace http://tampermonkey.net/ // @version 0.5 // @icon https://www.google.com/s2/favicons?sz=64&domain=felo.ai // @description 启动 Felo Search 后自动收起侧边栏 // @author Jing Wang // @contact [email protected] // @license GPL-3.0 // @match https://felo.ai/search* // @grant none // ==/UserScript== (function() { 'use strict'; // Function to click the sidebar toggle button function closeSidebar() { const sidebarToggle = document.querySelector('section.hidden.md\\:block.cursor-pointer'); if (sidebarToggle) { sidebarToggle.click(); } } // Run the function when the page loads window.addEventListener('load', closeSidebar); // // Also run the function periodically in case the button is added dynamically // setInterval(closeSidebar, 2000); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址