📜  typeracer hack chrome - Javascript (1)

📅  最后修改于: 2023-12-03 15:05:39.189000             🧑  作者: Mango

Typeracer Hack Chrome - Javascript

Are you tired of losing at Typeracer? Are your typing skills not up to par with your competitors? Well, we have a solution for you! Introducing the Typeracer Hack Chrome extension written in Javascript.

How it works

The Typeracer Hack Chrome extension is designed to automatically type out the words for you in Typeracer. Simply install the extension and start a race. The extension will then type out the words automatically, giving you an unfair advantage over your competitors.

Installation

To install the Typeracer Hack Chrome extension, follow these steps:

  1. Download the code from our Github repository here.
  2. Unzip the downloaded file.
  3. Open Google Chrome and navigate to the Extensions page by typing chrome://extensions into the URL bar.
  4. Enable Developer Mode by clicking the switch in the top right corner.
  5. Click on the "Load unpacked" button and select the unzipped folder containing the code.
Usage

Once the extension is installed, navigate to the Typeracer website and start a race. The extension will automatically start typing out the words for you. You can adjust the typing speed by going to the extension's settings page.

Code

Here is the code for the Typeracer Hack Chrome extension:

// ==UserScript==
// @name         Typeracer Hack Chrome
// @version      1
// @description  Automatically types out words in Typeracer race
// @match        https://play.typeracer.*
// @match        http://play.typeracer.*
// @run-at       document-end
// ==/UserScript==

(function() {
    var words = document.getElementsByClassName("txtInput")[0].innerHTML.split("<")[0].split(" "); // Get words from race
    var currentIndex = 0; // Index to keep track of current word being typed
    var interval = setInterval(function() {
        document.getElementsByClassName("txtInput")[0].value = words[currentIndex++]; // Set input value to current word
        if (currentIndex == words.length) { // End of race
            clearInterval(interval);
        }
    }, 50); // Typing speed (lower is faster)
})();
Conclusion

With the Typeracer Hack Chrome extension, you'll be able to dominate the competition and achieve the highest typing speeds. However, please use this extension responsibly and do not cheat in official competitions. Happy typing!