Last active
October 15, 2022 16:57
-
-
Save SpotlightForBugs/8cd6dd20ba1fd6f11e0d541aa8f20b7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//manual way to solve the quiz | |
// | |
//1. start the quiz | |
//2. open the console (F12) | |
//paste this code into the console and press enter | |
//if one of the classes in the body is inside the array, we run the code below | |
var classes_list = ['associate_cell', 'imageAnswer'] | |
if (classes_list.some(r => document.body.classList.contains(r))) { | |
//if the class is inside the array, we run the code below | |
runtime.showNextQuestion() | |
} else { | |
runtime.recordMessage("Starting to solve the quiz"); | |
runtime.asyncEvaluate(0); | |
runtime.answerMessage("<b>Click on the Green Answer</b>") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment