Anyone know of a script that can do something like this site:

http://www.rinkworks.com/dialect/

Translates other webpages. I've coded a working solution for entering the text in a box and converting, but converting pages on the fly is beyond me.

Any suggestions?