This bookmarklet will turn all of the external links on a google directory page into dmoz edit links.
To install this bookmark, drag the link to your bookmarks.
Google Edit
javascript:(
function z(){
if(!document.URL.match(/google.com\/search.*\&cat\=/)){
alert("Use on Google directory search page.");
return;
}
var s;
for(i=0;i<document.links.length;i++){
l=document.links[i];
if (l.host.length!=0&&!l.host.match(/google|216\.239/)){
s=l;
}
r=/http\:\/\/directory.google.com\/Top/;
if(s!=null&&l.href.match(r)){
c=l.href.replace(r,"");
c=c.replace(/?.*/, "");
h=s.href;
s.href="http://dmoz.org/editors/editurl.cgi?url="+escape(h)+"&cat="+escape(c);
}
}
}
)();