Skip to content

Instantly share code, notes, and snippets.

@prise6
Last active May 3, 2016 14:08
Show Gist options
  • Save prise6/4db814a580d80cc3818a92412341fd3e to your computer and use it in GitHub Desktop.
Save prise6/4db814a580d80cc3818a92412341fd3e to your computer and use it in GitHub Desktop.
Hack of http://10fastfingers.com website - greasemonkey \o/
// ==UserScript==
// @name 10fast
// @namespace test
// @include http://10fastfingers.com/typing-test/*
// @version 1
// @grant none
// ==/UserScript==
$('body').on('click', function(){
var word = $('#row1 span[wordnr]')
var i = 0;
$('#inputfield').on('keypress', function(e){
$('#inputfield').val(word.get(i).innerHTML)
i++;
})
})
@prise6
Copy link
Author

prise6 commented May 3, 2016

_Just for fun :)_

Just for fun !

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