Jake Eck's Membean HACK

Membean hack coded by Jake Eck. For tech support, send me a message on Skype: mjakee-99

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 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.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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 Jake Eck's Membean HACK
// @namespace none
// @version 1.1.1
// @description Membean hack coded by Jake Eck. For tech support, send me a message on Skype: mjakee-99
// @author Jake Eck
// @match *://membean.com/training_sessions/*
// @grant none
// ==/UserScript==

//will answer a question every 25 seconds.
setInterval(function(){
if(document.getElementsByClassName("choice answer").length > 0){
    document.getElementsByClassName("choice answer")[0].click();
}

if(document.getElementById("next-btn")){
    document.getElementById("next-btn").click();
}

var choice = Math.floor(Math.random()*100) < 80;
if(choice){
    document.querySelectorAll("input[value=Pass]")[0].click();
}else{
    document.querySelectorAll("input[value=Fail]")[0].click();
}
}, 25000);