Very interesting Digg Poster script

Discussion in 'JavaScript' started by MikeLeeProxy, Mar 9, 2007.

  1. #1
    http://board.43folders.com/showthread.php?t=1046


    Over a year ago, the lovely and talented Danny O'Brien gave me a fantastic chunk of code. It was the basis for creating a del.icio.us bookmarklet that worked like this:

    1. add your username
    2. add a single tag
    3. save it to your Safari browser bar
    4. when you click it, the page you're viewing is added to your del.ici.ous bookmarks without a popup (or any other screen)


    I had about 20 of these and they were wonderfully useful for blazing through a set of tabs and capturing a bunch of pages I'd want to return to later on (but didn't want to futz around with at the time of pure capture).

    Important: The best thing about these was that they were "silent" — by which I mean they just did their work without notification, interaction, or the need for any extra input. Very fast.

    The code went like this (note variables USERNAME and TAG):

    Code:

    At some point these bookmarklets died and I was made sad. Indicating:

    I know next to zero about javascript so I'm not sure what happened -- guessing that at some point the del.icio.us API (or whatever) changed and these little hacks broke.

    Any helpful developers with del.icio.us able to check out this code and suggest a fix that would work today?

    Many thanks in advance from the Captain's Table.
     
    MikeLeeProxy, Mar 9, 2007 IP
  2. MikeLeeProxy

    MikeLeeProxy Banned

    Messages:
    100
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    rep me please if this was helpful! :D
     
    MikeLeeProxy, Mar 9, 2007 IP