您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Quora more buttons automatically clicked on scroll or at pages opening
- // ==UserScript==
- // @name Quora expand all more buttons
- // @namespace http://tampermonkey.net/
- // @version 0.3
- // @description Quora more buttons automatically clicked on scroll or at pages opening
- // @author ClaoDD
- // @match https://www.quora.com/*
- // @grant none
- // ==/UserScript==
- (window.onscroll = function(){
- const links = Array.from(document.querySelectorAll('.qu-fontFamily--sans'));
- links.forEach((link) => {
- if (link.textContent === '(more)' || link.textContent.includes('view more')) {
- link.click();
- }
- })
- })();