Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
altavox's comments
login
altavox
on Feb 10, 2017
|
parent
|
context
[–]
| on:
Monitor web page changes with Go
In client-side Javascript, document.documentElement.innerText yields only the rendered text, without markup, CSS or JavaScript source.
arjie
on Feb 10, 2017
|
parent
[–]
But the theory was that the source would be different, and only the rendered content would be the same at the sample place, right? How would you find the 'same place' without fully rendering the page?
tedmiston
on Feb 10, 2017
|
root
|
parent
[–]
One way is for the source to use cache control headers so you can just do a quick HEAD instead of a GET on the whole contents.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: