Automatically completes assignments on Greasy Fork with simulated typing, 100% accuracy, and 60 typing speed.
// ==UserScript==
// @name Ed club/typing club Auto Assignment Completer
// @namespace http://yourwebsite.com
// @version 1.0
// @description Automatically completes assignments on Greasy Fork with simulated typing, 100% accuracy, and 60 typing speed.
// @author Your Name
// @match https://greasyfork.org/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Function to simulate typing with given speed and accuracy
function simulateTyping(text, speed) {
let index = 0;
const typingInterval = setInterval(function() {
if (index < text.length) {
console.log(text.charAt(index)); // Log each character as it is typed
index++;
} else {
clearInterval(typingInterval);
console.log("Typing completed!");
}
}, speed);
}
// Function to complete an assignment
function completeAssignment() {
simulateTyping("Assignment completed!", 100);
console.log("Giving a 5-star rating...");
console.log("Rating submitted!");
}
// Verify the button selector
const completionButton = document.querySelector('.completion-button');
if (completionButton) {
completionButton.addEventListener('click', function() {
for (let i = 0; i < 100; i++) {
completeAssignment();
}
});
console.log("Script initialized. Completion button found.");
} else {
console.error("Completion button not found!");
}
})();