[Greasemonkey] Drop down box

spamcan spammbucket at yahoo.com
Wed Oct 11 13:26:07 PDT 2006


On Thu, 21 Sep 2006 19:13:17 -0700, Johan Sundström <oyasumi at gmail.com>  
wrote:

> On 9/21/06, Matthew Weymar <matthew.weymar at gmail.com> wrote:
>> Seems like it'd be easy enough to change this to:
>>
>> <select id="searchtype" name="type">
>>         <option value="user" selected="selected">your bookmarks</option>
>>         <option value="all" >del.icio.us</option>
>>         <option value="web" >the web</option>
>> </select>

because (x)html is more or less in english and cause-and-effects are  
rather obvious, something like the above is easy to edit with proxo (same  
goals, different methods).

> Probably something like  
> document.getElementById('searchtype').selectedIndex = 0;


More information about the Greasemonkey mailing list