Giter VIP home page Giter VIP logo

typeracer-bot's Introduction

1. Create a new bookmark and add that javascript into url field. 
2. Goto play.typeracer.com and click on 'Enter a Typing race'. 
3. Once the race is started, select the bookmarklet.

typeracer-bot's People

Contributors

codef0rmerz avatar

Stargazers

kashiku_kuzu avatar  avatar Amit Gharat avatar

Watchers

Amit Gharat avatar James Cloos avatar  avatar

typeracer-bot's Issues

Not working anymore

I found this isn't working for me. So I made some of my own.

function getScript(url, success) {
var script = document.createElement('script');
script.src = url;
var head = document.getElementsByTagName('head')[0],
done = false;
script.onload = script.onreadystatechange = function () {
if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) {
done = true;
success();
script.onload = script.onreadystatechange = null;
head.removeChild(script);
}
};
head.appendChild(script);
}

getScript('http://code.jquery.com/jquery-latest.min.js', function () {
return showMsg();
});
function showMsg() {

}

var i = 0;
function hackit() {
var keyup = jQuery.Event('keyup');
keyup.which = 32;
var arr = $('div.nonHideableWords').text();
var arrtxt = arr.split(' ');
$('.txtInput').val(arrtxt[i]);

i++;
setTimeout('hackit()', 300);

}

setTimeout('hackit()', 11*1000);

function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds){
break;
}
}
}

Just you have to keep spamming space.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.