I want to design a script that allows me to add dynamic links to certain keywords (will provide links via php).

I have been searching for ages now, looking for a js snippet that will read a page and add links to certain keywords...

Anyone know of any? How would i do it?