Skip to content

Instantly share code, notes, and snippets.

@harishanchu
Last active April 17, 2026 14:01
Show Gist options
  • Select an option

  • Save harishanchu/6852427 to your computer and use it in GitHub Desktop.

Select an option

Save harishanchu/6852427 to your computer and use it in GitHub Desktop.
typeracer.com cheat
//Before you start typing open your developer console and paste the following script
//Now pressing any key will result in to correct key press untill you reach next space key.
//I made the user push space to move further, so that someone viewing your typing will think you are not faking.
//warning: Site detects the WPM above 100 and asks you to do a captcha test.
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
// execute the following script in the console
(function($)
{
var inputText;
var flag = true;
var i = 0;
$('body').on('keypress','.txtInput',function(e)
{
if(flag)
{
inputText = $('.inputPanel tr:first').text();
flag = false;
}
if(inputText[i] == " ")
{
if((e.which || e.keyCode)==32)
i++;
else
e.preventDefault();
}
else
{
e.preventDefault();
$( '.txtInput' ).val($( '.txtInput' ).val()+inputText[i]);
i++;
}
});
})(jQuery);
@fazli1702

Copy link
Copy Markdown

can finally flex to my friends

@AX3M

AX3M commented Apr 9, 2020

Copy link
Copy Markdown

I thought it wasn't working, until I pressed the spacebar and it typed the correct letter lol. So from then on, I pressed and held the space bar and is it lightning fast.

@itzmeVortex

Copy link
Copy Markdown

Lol i tricked my friends

@AX3M

AX3M commented Sep 19, 2020

Copy link
Copy Markdown

Lol i tricked my friends

You may have tricked them, but they tricked you into thinking you have tricked them.

@Abdur744

Abdur744 commented Oct 1, 2020

Copy link
Copy Markdown

i try running the script but i get a error for "document"

paste it in console if you see red first then paste it again and then press and hold space button you will win by this way

@Abdur744

Abdur744 commented Oct 1, 2020

Copy link
Copy Markdown

Doesn't work
paste it in console if you see red first then paste it again and then press and hold space button you will win by this way

@faresx1

faresx1 commented Dec 17, 2020

Copy link
Copy Markdown

why do u use this, just practice an hour a day to learn better

@oildikeoil

Copy link
Copy Markdown

yall ugly

@6793740

6793740 commented Feb 9, 2021

Copy link
Copy Markdown

what do you copy

@Henrythe

Copy link
Copy Markdown

This works so well, make sure to follow the directions at the top!

@Henrythe

Copy link
Copy Markdown

what do you copy
Here copy this: var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
jQuery.noConflict();
// execute the following script in the console
(function($)
{
var inputText;
var flag = true;
var i = 0;
$('body').on('keypress','.txtInput',function(e)
{
if(flag)
{
inputText = $('.inputPanel tr:first').text();
flag = false;
}
if(inputText[i] == " ")
{
if((e.which || e.keyCode)==32)
i++;
else
e.preventDefault();
}
else
{
e.preventDefault();
$( '.txtInput' ).val($( '.txtInput' ).val()+inputText[i]);
i++;
}
});
})(jQuery);

@Henrythe

Copy link
Copy Markdown

Doesn't work

Make sure to follow the directions! 😁

@Henrythe

Copy link
Copy Markdown

what the hell is even that

It's a Script so you can type faster on Typeracer.com :) 😄

@Henrythe

Copy link
Copy Markdown

You may need to input twice

Yes true, also if anyone is wondering where to put the script, right click on your mouse, click inspect, and then go to console, go to the bottom, and paste the script! :) 😁

@Anthony44444

Copy link
Copy Markdown

what do u guys play on?

@StenAskerBergman

Copy link
Copy Markdown

Lol i tricked my friends

You may have tricked them, but they tricked you into thinking you have tricked them.

based

@OlimDev

OlimDev commented Jun 25, 2021

Copy link
Copy Markdown

Doesn't work

Make sure to follow the directions! 😁

And I did, and you know what I did? I started pressing random keys and I can type faster than a Stenographer.

@VladMoore

VladMoore commented Jul 30, 2021

Copy link
Copy Markdown

Issue when you start a new race, it starts writing "Change display format" and then "undefined". Works only the first time

@Shresht007

Copy link
Copy Markdown

I followed the instructions and did everything but I still don't seem to get the autotyping thing :(

@Shresht007

Copy link
Copy Markdown

Respect to this guy, he made a pretty damn smart code. I think half of y'all didn't even read the code and just copied it.

@arch-user-france1

arch-user-france1 commented Jan 7, 2022

Copy link
Copy Markdown

But it's pretty small and uses JQuery, a library.
Of course I'd read the code..

@CarefulGaming

Copy link
Copy Markdown

It works good.... but it won't go on my account because when I do it they have to verify me because I'm going over 100 wpm. And I always fail

@CarefulGaming

Copy link
Copy Markdown

well fuck i got banned for cheating

@PastaShapes

Copy link
Copy Markdown

stop cheating; get good :D

@kinobau

kinobau commented Aug 28, 2023

Copy link
Copy Markdown

it works 1 in 10 times

@Neootic3

Neootic3 commented Oct 16, 2024

Copy link
Copy Markdown

stop cheating:)

@SanaSins

SanaSins commented Mar 4, 2025

Copy link
Copy Markdown

Lool fire

@CanXploit

Copy link
Copy Markdown

I thought it wasn't working, until I pressed the spacebar and it typed the correct letter lol. So from then on, I pressed and held the space bar and is it lightning fast.

https://gist.github.com/CanXploit/ca37fbd6210693ab27477ea31dfe7e83

this is better

@CanXploit

Copy link
Copy Markdown

it works 1 in 10 times

https://gist.github.com/CanXploit/ca37fbd6210693ab27477ea31dfe7e83

This is working in all time

@tabaranimehdi68-ship-it

Copy link
Copy Markdown

What about the typing challenge verification how to pass it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment