S
S
Sergey Goryachev2016-09-12 19:41:19
linux
Sergey Goryachev, 2016-09-12 19:41:19

Sound alert when certain text is found on a page?

Hello.
I have a page, it is updated automatically, with an interval of 10 seconds.
Sometimes certain "text" appears on the page.
How can I make the script search for this text and, if it exists, give out a sound notification?
The script itself will work through the browser and greasemonkey.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-09-12
@webirus

I agree, using greasemonkey is the best way.
Well, take a js-lib that plays a sound, and at the end of the DocumentReady loading - parse the entire DOM: document.innerHTML (like so ..)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question