Trying to scrap together a script to use with grease monkey.

When using firefox and viewing one of MS's sites, I come across the html of:
>
Which is suposed to display > but instead it just displays as >.

I'd like to write a script to go through and replace > with just >.

There are also others l'd like to check for " to ", etc..

Anyone know how to go about this? Sample script?

Will the below function work? How do I send the html to it for editing?

function htmlspecialchars(str) {
str = str.replace('&, '&' );
return str;
}

Thanks in advance!
Andy