javascript - How to check whether the html has changed? -


apologies if that's wrong place, have no clue ask.

we building firefox addon works on selected websites. now, because websites tend change once in while, want run once day javascript script check whether specific part of code has been changed, , if did, return message (ideally directly email).

what easiest, simplest way that? i've read webcrawlers, webscrappers, seem doing far more need. want run our pcs connected internet small script simple check , send email change specific part of html body has been detected (or more specific - selected elements have not been found).

any appreciated

basically might set google spreadsheet scrape pages' parts thru importxml function (here example) using xpath. set notifications in spreadsheet: tools -> notification rules enter image description here

now each time scraping function (importxml) gets content different previous one, spreadsheet should trigger mail you.

as off-the-shelf alternative might recommend some tools track pages' and/or parts'(!) changes including notifying email.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -