theme selector

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

by Tony Chang
tony@ponderer.org

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

Creative Commons Attribution License

annotate Google

Jan 14, 2005, 12:51am EST

 

 

I’m working on a Firefox extension for annotating Google search result pages. It currently checks each page for RSS or Atom feeds and places links to feeds and also grabs a few popular tags from del.icio.us about the page.

I started working on it last weekend, but while reading evan‘s tech blog today, I learned about greasemonkey, a Firefox extension that allows you to overlay site specific javascript. Wow, that’s exactly what I needed. So I started using it but found out that it may not be ideal because of security problems features that apply to scripts, but not extensions. So I guess I can’t use greasemonkey after all, but it has provided a convenient way to test the script.

Oh, perhaps you want to try out the extension. While you’re welcome to install greasemonkey and try out annotate Google, it’s not quite ready yet. In addition to annoying security warnings on every Google SERP, it only makes one XMLHttpRequest at a time due to a bug on my part (new requests are clobbering old requests, maybe something’s wrong with my closure).

Update: I actually wrote it.

Jeremy Dunck at Jan 30, 2005, 11:17pm EST

Tony, I’m very happy to have stumbled on something for you.

Via hackdiary, a script that uses delicious from a different site.

Note in the header of that script, these comments: // This script requires the following in your prefs.js:

// user_pref(“capability.principal.codebase.p0.granted”, “UniversalBrowserRead”);

// user_pref(“capability.principal.codebase.p0.id”, “http://www.bbc.co.uk”);

// user_pref(“signed.applets.codebase_principal_support”, true);

So it appears that a user can specifically punch holes in their security to allow special rights based on URL. So your particular use should be possible.

Ideal? No… but useful and interesting.

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre