Skip to content

Instantly share code, notes, and snippets.

@Kerogi
Last active March 21, 2023 16:40
Show Gist options
  • Save Kerogi/8d88833ff662d120cce3f5caed0ea7e0 to your computer and use it in GitHub Desktop.
Save Kerogi/8d88833ff662d120cce3f5caed0ea7e0 to your computer and use it in GitHub Desktop.
GreenCountry.ua self-study anti-cheat
// ==UserScript==
// @name Greencountry Anti-Cheat
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Userscript for prevent cheating on GreenCountry online cources specifically self-study pages.
// @author Igor [Kerogi] Kostenko
// @match https://enbook.greenforest.ua/book/49047f7584c4a23bf0c9a883a65bff414d50f7af*
// @icon https://www.google.com/s2/favicons?sz=64&domain=greenforest.ua
// @grant none
// ==/UserScript==
(function() {
'use strict';
const solveButtons = document.getElementsByClassName("btn btn-primary solve-task");
for (let i = 0; i < solveButtons.length; i++)
{
solveButtons[i].disabled = true;
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment