您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
auto clicks reddit links to move past the comments page
当前为
// ==UserScript== // @name reddit-auto-click // @description auto clicks reddit links to move past the comments page // @namespace ziffusion.com // @include http*://*.reddit.com/r/*/comments/* // @version 9.4 // ==/UserScript== var results = document.evaluate('//div[@data-test-id="post-content"]//a', document, null, XPathResult.ANY_TYPE, null); var node; while (node = results.iterateNext()) { var url = new URL(node.href); console.log('reddit-auto-click', url); if (url.hostname != 'www.reddit.com') { window.open(url.href); break; } }