Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if website is down javascript

isSiteOnline("http://www.facebook.com",function(found){
    if(found) {
        // site is online
    }
    else {
        // site is offline (or favicon not found, or server is too slow)
    }
})
Source by lostsource.com #
 
PREVIOUS NEXT
Tagged: #check #website #javascript
ADD COMMENT
Topic
Name
5+1 =