theme selector

light blue screenshot grey screenshot navy screenshot dark green screenshot red and black screenshot
 

by Tony Chang
tony@ponderer.org

All opinions on this site are my own and do not represent those of my employer.

Creative Commons Attribution License

reinput userscript

Jan 30, 2006, 02:05am EST

 

 

My friend Doug was telling me how he hates all drop down boxes found in web pages and would rather see sites using autocomplete style input boxes instead. So, during last night’s SuperHappyDevHouse, I wrote a greasemonkey script to automatically do this conversion.

re-input is a user script that looks for <select> tags on a page and replaces them with autocompleting text input boxes. I’m using a slightly modified version of Gadgetopia’s AutoSuggest to do the suggestions.

It colors all the input boxes that it creates so it’s obvious to you what’s been modified. It also tries to stop the form from being submitted if you enter an invalid menu option. Unfortunately, it’s not able to stop javascript form submission (form.submit()), so it doesn’t always work. You can go to UPS.com to see it’s brokenness.

DC at Jan 30, 2006, 02:40pm EST

Actually, I realized that was probably how it worked about 5 seconds after I posted that comment… Oops.

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre