Skip to content

Maxhu787/10ff.net-cheat-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

10ff.net Script

Script for cheating in 10ff.net typing test
Note. 1

How it works

It basically is selecting the highlited text in the test (which is the current word that you are going to type) setting it to a variable
and setting the input field's value to that variable and dispatching the input event every 1 / 1000 of a second

Basic version

Press ctrl + shift + i or F12 and paste it in the console
If you don't like pasting it in everytime, here's another version

setInterval(function() {
    let text = document.querySelector(".highlight").textContent + " ";
    document.querySelector("input").value = text
    var inputEvent = new InputEvent("input");
    document.querySelector("input").dispatchEvent(inputEvent)
}, 1);

Script with button

If you like always cheating, this script makes your life easier
This script creates a button on the page so that you don't need to paste the script in everytime, you just need to press the button

Usage

  1. Install a userscript extension like Tampermonkey
  2. Paste in this code
// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://10ff.net
// @icon         https://www.google.com/s2/favicons?sz=64&domain=10fastfingers.com
// @grant        none
// ==/UserScript==

(function() {
    //alert("script made by g4o2 button is at the bottom left")
    var sheet = window.document.styleSheets[0];
    sheet.insertRule('button{height:60px;width:150px;background:darkgrey;border-radius:10px;border:solid 3px orange;color:orange;}', sheet.cssRules.length);
    let btn = document.createElement("button");
    btn.innerHTML = "SUPER SPEED";
    btn.onclick = function hack() {

    }
    var myHoverInterval = null;
    btn.addEventListener("click", function() {
        if (myHoverInterval != null) {
            return;
        }
        myHoverInterval = setInterval(function() {
            let text = document.querySelector(".highlight").textContent + " ";
            document.querySelector("input").value = text
            var inputEvent = new InputEvent("input");
            document.querySelector("input").dispatchEvent(inputEvent)
		}, 1);
    });
    document.body.appendChild(btn);
})();
  1. When you load up the page, there will be a grey / orange at the bottom left of the page
  2. Press it and you're off to cheating 😎

Footnotes

  1. I recommend you not to cheat 👽

Releases

No releases published

Packages

No packages published