Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.
One-click 'silent' del.icio.us boomarking?
Merlin Also | Oct 22 2006
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:
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 [="Red"]USERNAME[/] and [="red"]TAG[/]):
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. 8 Comments
POSTED IN:
javascript syntaxSubmitted by fogboy on February 20, 2007 - 11:16pm.
yes, there are other places i could ask for help with this, but i thought you badass javascripters above might be able to at least point me in the right direction -- i've got a similar bookmarkelt working ALMOST perfectly in camino: javascript:q=location.href;p=document.title;e= %22%22 +(document.getSelection());void(open('http://del.icio.us/fogboy?v=3&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'delicious%20',%20'toolbar=no,width=740,height=700')) but notice that i don't have the syntax quite right for "document.getSelection", as it returns the popup without the hightlighted text in the notes field. if anyone can fix just that part for me, i will be their bestest bestest friend for life. if not, you could get a gold star by just pointing me to a site where i can get learned on on this (without devoting a million hours to it) thank you and good night. » POSTED IN:
|
|
EXPLORE 43Folders | THE GOOD STUFF |