Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Thursday, March 22, 2007

Automatically pushing the Submit button on the Firefox del.icio.us add-on's form (GreaseMonkey script)

If you use the Firefox del.icio.us extension, you might be annoyed with how it takes a few seconds to open a new window containing the form, which you're just going to press Submit on anyway.

I've written a GreaseMonkey script that will automatically press Submit for you: Auto-Submit del.icio.us Form script.

3 Comments:

  • I think you're better off with this Bookmarklet.
    It utilizes the Delicious API to post the current site to your account. Selected text is used as the description. You can hard code the tags that will be automatically assigned. Or use it via keyword search: *Ctr-L* "d [tags]" *Enter*

    By Anonymous Anonymous, at 3/26/2007 10:02 a.m.  

  • damn, Blogger killed my link.
    **********
    javascript:e=%22%22+(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);void(delicious = open('https://api.del.icio.us/v1/posts/add?description='+encodeURIComponent(document.title)+'&extended='+escape(e).replace(/ /g, %22+%22)+'&tags=%s'+'&url='+escape(window.location.href),'delicious','toolbar=no,width=500,height=150'), setTimeout('delicious.close()',5000))
    *****************

    By Anonymous Anonymous, at 3/26/2007 10:04 a.m.  

  • Works great (and it works in IE) - thanks!

    By Blogger Jonathan, at 3/26/2007 9:58 p.m.  

Post a Comment

<< Home