ajax - javascript to determine if page on remote domain has changed -


I am trying to determine whether a page has changed on a remote domain or not.

I can not load the page in an iframe and can check its contents due to the same basic policy.

So I tried to use .getResponseHeader ("content-length") and .getResponseHeader ("last-modified") but apparently These are also restricted, however, the firebug shows by SOP content-length in the console.

Is there any way to do this? I have a way of knowing whether the page has changed.

Thx

You can not do it completely client-side, when Other endorsements do not support, or, or some other cross-root mechanism to do so In the absence of this, you have only one option:

  • Use server-side help
  • (which your users have to allow)
  • < Li> Using a signed Java applet (which will allow your users to)
  • Using an ActiveX control (which will allow your users to)

... you get this idea.


Comments