您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Don't tire yourself by pressing the Next button!
当前为
// ==UserScript== // @name Udacity "Next" clicker (Nanodegree program) // @namespace https://openuserjs.org/users/uzbek // @licence MIT // @copyright 2021, Uzbek (https://openuserjs.org/users/uzbek) // @version 1.0 // @description Don't tire yourself by pressing the Next button! // @author Uzbek // @match https://classroom.udacity.com/nanodegrees/nd*/* // @icon https://visualpharm.com/assets/890/Hacker-595b40b75ba036ed117d616b.svg // @grant none // ==/UserScript== (function () { 'use strict'; document.body.onkeypress = function (e) { if (e.code == 'KeyS') { sPressed(); } }; })(); function sPressed() { if (document.querySelectorAll('.vds-modal').length > 0) { let elem = document.querySelectorAll(".vds-modal .vds-button.vds-button--primary"); if (elem.length > 0) { elem[0].click(); setTimeout(sPressed, 2000); } else { alert('No next button'); } } else { let elem = document.querySelectorAll("._main--footer-container--3vC-_>button.vds-button.vds-button--secondary"); if (elem.length > 0) { elem[0].click(); setTimeout(sPressed, 2000); } else { alert('No next button'); } } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址