您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
an autoanswer script for questions, pages, going next
// ==UserScript== // @name Aceable Autoanswer and video player script // @namespace http://tampermonkey.net/ // @version 0.1 // @description an autoanswer script for questions, pages, going next // @author Created by DudeUnoob on github: https://github.com/DudeUnoob // @match https://driving.aceable.com/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @exclude https://driving.aceable.com/acetest/* // @grant none // @license MIT // ==/UserScript== setInterval(() => { if(document.getElementById("arrow-next").disabled == false){ document.getElementById("arrow-next").click() } if(document.querySelector(".vjs-big-play-button")){ console.log("lol") document.querySelector(".vjs-big-play-button").click() } async function autoAnswerQuestions() { const answerButtonList = document.querySelector(".gritCourseflowNode__answerButtonList"); for (const answerButton of answerButtonList.querySelectorAll(".gritCourseflowNode__answerButtonListItem > button")) { answerButton.click(); } setTimeout(() => { document.querySelector("[courseflow-forward]").click();}, 200) await waitUntilCheckAnswerButtonIsEnabled(); // Click the "next" button. setTimeout(() => { document.getElementById("arrow-next").click();}, 300) } async function waitUntilCheckAnswerButtonIsEnabled() { } autoAnswerQuestions(); }, 500)