Skip to content
Guest Big Announcement

What is your typing speed?

Featured Replies

  • Replies 32
  • Views 4.9k
  • Created
  • Last Reply
Don't type anything, open up your Console tab, and then paste the whole code below, then press enter, and enjoy the show.



var word_idx = 0;

var interval_per_word = 250; // in milliseconds
function hackit(){
if(word_idx<words.length){
$('#inputfield').val(words[word_idx] + ' ');
var keyup = jQuery.Event('keyup');
keyup.which = 32;
$('#inputfield').trigger(keyup);
word_idx++;
setTimeout('hackit()', interval_per_word);
}
}
setTimeout('hackit()', interval_per_word);

  • Author

Don't type anything, open up your Console tab, and then paste the whole code below, then press enter, and enjoy the show.

 

var word_idx = 0;

var interval_per_word = 250; // in milliseconds
function hackit(){
if(word_idx<words.length){
$('#inputfield').val(words[word_idx] + ' ');
var keyup = jQuery.Event('keyup');
keyup.which = 32;
$('#inputfield').trigger(keyup);
word_idx++;
setTimeout('hackit()', interval_per_word);
}
}
setTimeout('hackit()', interval_per_word);

 

Thanks for killing it :mellow:

Don't type anything, open up your Console tab, and then paste the whole code below, then press enter, and enjoy the show.

 

var word_idx = 0;

var interval_per_word = 250; // in milliseconds
function hackit(){
if(word_idx<words.length){
$('#inputfield').val(words[word_idx] + ' ');
var keyup = jQuery.Event('keyup');
keyup.which = 32;
$('#inputfield').trigger(keyup);
word_idx++;
setTimeout('hackit()', interval_per_word);
}
}
setTimeout('hackit()', interval_per_word);

I found this one to be much more efficient:

$( "#inputfield" ).keyup(function() { $("#inputfield").val( $(".highlight").text() )});

----------------------------EDIT------------------------------

 

Just use @@castix 's code and change the 250 to a smaller number like 1 :evil:

Updated by Javi Tech

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.