I have spent a whole day trying to solve this, searching for solutions and trying dozens of different java script solutions, none got round the 200 pix high iframe except you sir.Many thanks, you should be knighted, thats how happy I am.
Hi there! I've been trying to get this to work following your five-year old instructions. It's not quite doing it, ... but I have skeleton of how to add it into Firefox 'contacts in the browser' extension if you're interested, see http://wiki.foaf-project.org/w/FirefoxContacts#FOAF_patch
It doesn't scale. You really don't want to go downloading keys with >10k users. Ideally I want to switch of bayesian checking for properly encrypted (chunks of) e-mail. Or at least lower the score if there are PGP-wise meaningfull parts in a message.
Oh and please clean up all the fixmes in the current code. It' s dirty and doesn't look like a version that deserves to be >1.x
myHeight -= document.getElementById('frame').offsetLeft;
myHeight -= 0; some extra height here
document.getElementById('frame').style.height = myHeight +"px";