Greasemonkey Del.icio.us Director
Updated 2005-12-15 to add trailing slash to list of included sites.As much as I love Johnvey Hwang's Del.icio.us Director, I got really tired of having to click his bookmarklet every time I loaded my del.icio.us links page, so I created a Greasemonkey script to do it for me. In all honesty, his bookmarklet was already optimized to become a greasemonkey script, so it only took me a minute or two to convert it.
What took a bit longer was creating an easy way to share the GM script with others. With a little javascript/php/mod_rewrite action, I eventually came up with a clean, efficient method to generate user-specific scripts on-the-fly. To get your own, follow the directions below.
(This script was tested on Mozilla Firefox 1.0.7 and Greasemonkey 0.5.3. Your mileage may vary with other configurations.)
If you haven't already done so, get del.icio.us.
After submitting the above information, a pink-highlighted link should appear below. Right-click this link and click "Install User Script...". To finish installing the script, click "OK" on the dialog that appears.
It doesn't seem like you've entered your del.icio.us username yet. Try again or comment below to warn me of the problem.Once all that's done, every time you visit your own del.icio.us page, the Director should auto-load.
If you experience any problems with the script generator, or have questions or suggestions, I welcome them in the comments. I'm notified via email anytime someone comments on my weblog, so I will get back to you eventually if you include accurate contact information.
Technorati Tags: greasemonkey, del.icio.us, script, firefox
.derek 8:44 pm on Friday, November 4, 2005 Permalink
Awesome job! I was getting a little tired of clicking the bookmarklet as well.
By the way. You’re anti-spam measure for comments reminds me of those old “choose your path and turn to page blah blah or blah blah”.
Quick Online Tips 11:22 am on Monday, November 7, 2005 Permalink
Your tool is now listed on the Absolutely del.icio.us tools
Joshua 6:45 pm on Tuesday, November 8, 2005 Permalink
This doesn’t seem to be working in Firefox 1.5 beta. I installed the script, but when I go to delicious it just sits there like always.
Justin Bitely 11:40 pm on Tuesday, November 8, 2005 Permalink
Not working for me in Firefox 1.5rc1 with Greasemonkey 0.6.3
Danny Dawson 11:28 am on Thursday, November 10, 2005 Permalink
To be honest, you’re a little too bleeding edge for me to support right now. When Firefox 1.5 and Greasemonkey 0.6.2 get their wide releases, then I’ll look into supporting them, but I can’t make any promises beforehand. Sorry.
Danny Dawson 2:28 pm on Thursday, December 15, 2005 Permalink
Hmm…the GM script works just fine for me in Fx 1.5 with GM 0.6.4. Anyone else having any problems?
I did notice, however, that I wasn’t adding trailing slashes to the list of included sites, which might have been causing a problem for a number of people. In effect:
http://del.icio.us/quasistoic
would match, but
http://del.icio.us/quasistoic/
would not.
This has been fixed on my server. Feel free to generate yourself a new script if it’s been bothering you.
drink 9:17 am on Thursday, May 25, 2006 Permalink
I’m using 1.5.0.3/Win (1.5 is long past wide release now…) and Greasemonkey 0.6.4 and it doesn’t work for me, either. the director does work fine when I run it manually.
Danny Dawson 9:28 am on Thursday, May 25, 2006 Permalink
Drink: I’m using the exact same setup and it works fine for me. Make sure that you’ve entered your del.icio.us username correctly, and only expect it to activate on your own del.icio.us page.
José González 3:42 am on Thursday, August 17, 2006 Permalink
del.icio.us seems to have changed the way it authenticates users, so this script is no more valid. Instead, you should point your browser to https://api.del.icio.us/ (you will see a page that looks like an error, don’t panic) and then execute the direc.tor script. If you aren’t logged on, your browser will prompt you for your user and password and you will enter the direc.tor (del.icio.us now works with HTTP basic authentication over HTTPS). So now there is no need to customize the script for a particular user, you just have to use the following:
// ==UserScript==
// @name Del.icio.us Director
// @namespace http://www.quasistoic.org/ts/archives/gm-delicious-director/
// @description Auto-Loads Johnvey Hwang’s Del.icio.us Director upon visiting jgongo’s del.icio.us links page
// @include https://api.del.icio.us/
// By Danny Dawson – modified by Jose Gonzalez
// ==/UserScript
(function() {var element=document.createElement(‘script’); element.setAttribute(‘src’, ‘http://johnvey.com/features/deliciousdirector/dboot.js’); document.body.appendChild(element)})();
thadk 9:20 am on Monday, August 6, 2007 Permalink
Just so people don’t find themselves pounding their heads on walls figuring out why the updated script is not working:
It uses the type-setted version of the ” ‘ ” symbol. The blog must convert it. You will have to retype it in the script when you copy and paste. Enjoy.