[Greasemonkey] Grab text string in TD

Jeremy Dunck jdunck at gmail.com
Fri Apr 22 10:00:29 EDT 2005


On 4/22/05, Scott R. Turner <srt at aero.org> wrote:
>      GM_find_and_replace(regexp, replace)

var html = document.innerHTML;
html.replace(regexp, replace);
document.innerHTML = html; 

No?

> which would search through all the "plain text" on the page doing
> replacements.  And a similar function
> 
>      GM_HTML_find_and_replace(...)

I'm not sure I understand what this would do?


More information about the Greasemonkey mailing list