Quote:
Originally Posted by plsureking
i made a quick load checker
|
Sorry, maybe I did not understand something... I have tested some URLs, but I always see a white page... I do not understand something?
This is the script I created:
Code:
var mysites = 'site1.com,site2.com,site3.com';
sitehost = window.location.hostname;
sitehost = sitehost.replace('www.', '');
if(mysites.indexOf(sitehost) <= 0){
window.location = 'http://google.com';
}