s_kennedy
asked on
How can I parse a remote website with JavaScript?
I have a heavily locked down machines on a LAN (no internet access).
I need to create some form of application that will parse a remote web page for a certain word, and display a message if it is found.
Due to the restrictions on the machine (I can't run any applications, I can't run any vbs files, etc), I believe the best option is JavaScript running through Internet Explorer 6, but I am open to other ideas.
For a real example that can be tested, I would like to be notified if http://www.google.ca contains the word "Web" (it does).
My main issue seems to be with the same origin policy, but I don't know if there's a way around that, since I only want to read the remote site, and not interact with it.
I need to create some form of application that will parse a remote web page for a certain word, and display a message if it is found.
Due to the restrictions on the machine (I can't run any applications, I can't run any vbs files, etc), I believe the best option is JavaScript running through Internet Explorer 6, but I am open to other ideas.
For a real example that can be tested, I would like to be notified if http://www.google.ca contains the word "Web" (it does).
My main issue seems to be with the same origin policy, but I don't know if there's a way around that, since I only want to read the remote site, and not interact with it.
ASKER
You had me so excited for a minute, but I can't run hta's.
Then I am afraid you need some online tool
http://www.google.com/search?q=online+alert+changed+website
http://www.google.com/search?q=online+alert+changed+website
ASKER
The problem is that there's no internet connection, so it needs to be running within the LAN.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for your help.
Open in new window