Answer the question
In order to leave comments, you need to log in
Is it possible to load a page via js?
I want to write an extension for chrome, which in the background would monitor changes on a certain site and would display a notification in case of some changes (for example, the appearance of news).
No server side - pure JavaScript. Is it really possible to download an html file from someone else's server using purely JS? Or is it fiction, security and all that? I do not want to start a server for the sake of a simple application "for myself".
Answer the question
In order to leave comments, you need to log in
1 you need to check the headers, analogue in php - print_r
2 when the header changes - update the page with the above methods from commentators
I want to write a chrome extension that would monitor changes on a certain site in the background and would display a notification in case of some changes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question