Aceable Autoanswer and video player script

an autoanswer script for questions, pages, going next

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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)