您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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!"); } })();