Aceable Autoanswer and video player script

an autoanswer script for questions, pages, going next

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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)