Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @id TFFE
- // @name TFF Exploit.
- // @version 1
- // @namespace TFFEx
- // @author Shadow19
- // @description Exploit for 10fastfingers, all you do is wait for the first word to appear, then press space over and over. note: The WPM tracker is like 2-3 words off everytime cause the server uses ajax to determine the WPM, and the timezone is different than most peoples(unless you live in Germany) but it's fairly accurate.
- // @include http://10fastfingers.com/*
- // @require http://code.jquery.com/jquery-2.1.0.min.js
- // @grant unsafeWindow
- // @grant GM_notification
- // @run-at document-end
- // ==/UserScript==
- var words, word, wordindex, input, start_time, correct_keystroke_counter, passed_time_in_seconds, tmp, started, sandbox, global;
- started = false;
- sandbox = false;
- window.unsafeWindow = window;
- window.onload=init
- function init(){
- document.getElementById('reload-btn').onclick = function() {started = false; document.getElementById('top1000-auswertung').style.display = 'none'; };
- global = setInterval(function(){
- if(!started){
- correct_keystroke_counter = 0;
- passed_time_in_seconds = 0;
- input = document.getElementById('inputfield');
- wordindex = 0;
- words = getWords();
- word = words.split('|');
- input.value = word[wordindex];
- if(!sandbox){
- $('#inputfield').bind('keypress', function(event) {
- if(String.fromCharCode(event.charCode) == " "){
- if(!started){start_time = gT(); setInterval(function(){ passed_time_in_seconds = ((gT() - start_time) / 1000);},500);}
- Next();
- started = true;
- }
- })
- sandbox = true;
- }
- }
- },1500);
- }
- function getWords(){return document.getElementById('wordlist').innerHTML;}
- function Next(){
- tmp = parseInt(word[wordindex].length) + 1;
- word = words.split('|');
- input.value = word[wordindex];
- correct_keystroke_counter += tmp;
- wordindex+=1;
- live_wpm = Math.round((correct_keystroke_counter/5) / (passed_time_in_seconds / 60));
- passed_time_in_seconds = Math.round(passed_time_in_seconds);
- GM_notification(wordindex + ' Words. WPM: '+live_wpm.toString() + ' seconds: '+ passed_time_in_seconds.toString());
- }
- function gT() {return new Date().getTime();}
Advertisement
Add Comment
Please, Sign In to add comment