Skip to content

Instantly share code, notes, and snippets.

@SpotlightForBugs
Last active October 15, 2022 16:57
Show Gist options
  • Save SpotlightForBugs/8cd6dd20ba1fd6f11e0d541aa8f20b7f to your computer and use it in GitHub Desktop.
Save SpotlightForBugs/8cd6dd20ba1fd6f11e0d541aa8f20b7f to your computer and use it in GitHub Desktop.
//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