Greasemonkey: Text processing. What is the best way to find and work on specific words on a website?

I want greasemonkey to browse the website and change some words to something else. Is there a way to do this using regex or some other string processing function in javascript?

Thank you for your help:)

+3
source share
1 answer

In greasemonkey, you use the DOM, and then on regular text nodes, regular expressions can be used to find your words. Check out the Wikiproxy user script for an example that looks for words and changes.

+1
source

All Articles