View Single Post
Old 02-11-2009, 02:48 AM   #6
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,171
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Thanks, that worked.

Here is what I found out about auto-focusing on an input field on pageload. The Javascript for the reply form is pretty easy to do:

window.onload=function() { document.forms['vbform'].elements['title'].focus(); }

Unfortunately, it breaks the Backspace key to move back in your browsing history. By focusing on a form field you're essentially disabling some fundamental browser functionality.

Kovid, when you are in Reply using vimperator, instead of using an extra 3 keystrokes to focus, you could use the tab key instead. That would reduce it to 1 extra keystroke.
Alexander Turcic is offline   Reply With Quote