[Greasemonkey] HTML email

chris feldmann cfeldmann at gmail.com
Tue Aug 30 15:10:04 EDT 2005


// ==UserScript==
// @name          Gmail - deBillIfier
// @namespace     http://axlotl.net/greasemonkey
// @description	  Manhandles +1 font tags to stop all the yellin'
// @include       *mail.google.com*
// ==/UserScript==

(function() 
{
	var fontTags = document.evaluate("//font[@size='+1']", document,
null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
	var i;
	var l = fontTags.snapshotLength;
	for (i=0; i<l; i++){ 
		fontTags.snapshotItem(i).setAttribute('size', 'smaller');
	}
})();


More information about the Greasemonkey mailing list