Javascript: Check the URL is working / existed / reachable (returning Status 200 / non-broken) or not -
with javascript, want check url reachable (existed, returning http status 200, not 404, etc).
let's say, how know (by using js) that:
- "https://www.google.com" (website) .. reachable link.
- and, "http://code.jquery.com/jquery-1.11.3.min.js" (js file) .. reachable link.
- and, "https://www.microsoft.com/library/errorpages/images/microsoft_logo.png" (image) reachable.
(they not: broken, non-existed, 404, etc).
again how know, such:
are broken, not-reachable, non-existed, 404, etc?
Comments
Post a Comment