var iftrue = 0
hrefValue = window.location.href.toLowerCase(); //获取当前页面的地址
alertUrls = ['gshuike.com'];
//指定你想要alert的域名,多个可以在数组中直接追加即可
//追加如:['www.bbb.com', 'bbb.com', 'abc.bbb.com']
for(key in alertUrls){
if(String(hrefValue).indexOf(alertUrls[key]) >= 0){
iftrue = 1
break; //直接跳出循环
}
}
if (iftrue === 0) {
console.log("请勿以非法方式使用本公司广告代码!");
} else {
document.write("
");
document.write("
");
document.write("
");
document.write("
");
document.write("
");
// smallbox
document.write("");
document.write("
");
document.write("
");
document.write("
");
function displayimgwdc(){
$("#fullbox").slideUp(1000,function(){
$("#smallbox").slideDown(1000);
})
}
setTimeout("displayimgwdc()",4000);
function closead(){
$("#smallbox").fadeOut(500);
}
document.write('');
}
document.write("");