theme selector

light blue screenshot grey screenshot navy screenshot dark green screenshot red and black screenshot

by Tony Chang

All opinions on this site are my own and do not represent those of my employer.

Creative Commons Attribution License

I <3 greasemonkey

Mar 28, 2005, 11:34pm EST



On the greasemonkey mailing list, Aaron released a new version of greasemonkey with XMLHttpRequest support. [Update: now official] With this in hand, I was able to go back and update the annotate google user script.

firefox with user script

After checking with Joshua, rather than having the script automatically grab tags for each search results (and hammer, the script now adds links. When you click on ‘tags’, it makes a request to and shows you the tags.

Like before, the script also adds an XML icon if the site has an RSS or Atom feed.

In related news, Evan wrote an unembed user script which solves my earlier problem.

Scott at Apr 01, 2005, 03:27am EST

I discovered this script cannot coexist with Google Headings script. If I have the Google Headings script enabled I don’t get any of the results you describe above. Disabling Google Headings causes your script to work great.

Google Headings is here:

tony at Apr 01, 2005, 11:35am EST

Hmm, I’ll look into it tonight.

tony at Apr 05, 2005, 01:35am EDT

In annotate_google.user.js, change line 188 from var nodes = xpath(“//p[@class=’g’]/a[1]”, document); to var nodes = xpath(“//p[@class=’g’]/h2/a[1]”, document);

Google headings changes the page (by adding headings, obviously) so that annotate google can’t find the right html.

jeremi at May 31, 2005, 06:35am EDT

I’ve made a version of your annotate google user script for the french version of google. you can find the french version of the annote google user script

thanks for this good script.


Dan at Jul 02, 2005, 03:35pm EDT

This also doesn’t work too well with Spiderzilla: the “info” link works, but the “tags” link doesn’t.

tony at Jul 04, 2005, 04:47am EDT

Ah, the HTML of delicious changed. The user script has been fixed. Try installing it again and seeing if it works.

Adam at Jul 02, 2005, 10:32pm EDT

Outfoxed adding reports to the page also breaks the tags link