[Greasemonkey] Grab text string in TD

Edward Lee edilee at gmail.com
Fri Apr 22 13:43:58 EDT 2005

On 4/22/05, Paul Roub <paul at roub.net> wrote:
> Anyone have a simpler variation of this?

Assuming you have something like this overlay function..

overlay('//text()', function(text) { text.nodeValue =
text.nodeValue.replace(/Google/g, 'Gooogle!'); });

Note that it'll only replace next nodes and not something like the
value of the search button, so Google Search remains as that.


More information about the Greasemonkey mailing list