[Greasemonkey] Document status code?
BachusII
greasemonkey at bachusii.nl
Wed Aug 2 13:15:57 EDT 2006
How about a quick XHR to the pages URL? XHR (native at least) exposes
the response status code.
A simple HEAD request should do the trick.
Anthony Lieuallen schreef:
> Is there a way to detect the status code? I.E. Given a script with
> "include *" let it ensure the response was a 200 OK before it does its
> thing?
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
More information about the Greasemonkey
mailing list