您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
quora default original answers only
// ==UserScript== // @name quora original answers only // @namespace http://tampermonkey.net/ // @version 0.5 // @description quora default original answers only // @author ClaoDD // @match https://www.quora.com/* // @grant none // ==/UserScript== function clickLinks() { const links = Array.from(document.querySelectorAll('.qu-ellipsis, .qu-tapHighlight--white, .qu-dynamicFontSize--small')); // Clicca su "Recommended" inizialmente const recommendedLink = links.find(link => link.textContent === 'Recommended'); if (recommendedLink) { recommendedLink.click(); } // Dopo 1 secondo, clicca su "Recent" setTimeout(() => { const links2 = Array.from(document.querySelectorAll('.qu-ellipsis, .qu-tapHighlight--white, .qu-dynamicFontSize--small')); const recentLink = links2.find(link => link.textContent === 'Recent'); if (recentLink) { recentLink.click(); } }, 1650); } // Chiamare la funzione clickLinks all'avvio della pagina clickLinks();