是手机浏览器,手机端。
是这样的,前几天问了有没有什么软件可以抓包看看是否被运营商劫持,但是那个 app 不知道为什么总是抓不到包。
今天用手机浏览器浏览《
http://dushu.m.baidu.com 》《
http://tieba.baidu.com>等网址时,网页底部有个悬浮广告。这个广告不是每次都会出现的。访问同一个网址也不是每次都会出现。但是只要我浏览的小说或者博客网址时,出现的机率就很大。而且今天访问多个不同网站时,查看源代码时,好像都是这个《 http://106.75.231.48/567yvir6_FJM1_7 》。
我打电话给电信,他们让我不用路由试试,可是不用路由我手机怎么连 WIFI 啊。于是就电脑网线直接连光猫,电脑做热点,手机连热点。
这样是否可以判断为运营商劫持呢?
<html><head><meta charset="utf-8"><title></title><style type="text/css">*{margin:0;padding:0;border:0}body{margin:0;color:#000;overflow:hidden;padding:0;width:100%;height:100%;font-family:Arial}a{cursor:pointer;display:block;position:absolute;border:0px;background-color:#444;color:#fff; opacity:.8;z-index:3;right:0px;top:0px; height:20px; overflow:hidden;text-align:center;width:28px;font-size:20px; line-height:20px;}#x{position:fixed;z-index:2;bottom:0px;right:0px;background-color:#FFF}#m{display:block;position:absolute;top:0;z-index:1;height:100%}#e0{display: block;position: absolute;right:0;bottom:0;z-index:100;width:30px;height:16px;line-height:16px;font-size:8px;background-color: rgba(0,0,0,0.2);color:#fff;text-align:center;}</style><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"><style type="text/css">.page-banner{display: none !important}</style><style type="text/css">.page-banner{display: none !important}</style></head><body onload="ad()"><script>var m = "= "
http://dushu.m.baidu.com/";v/";var a = "= "http://106.75.231.48/567yvir6_FJM1_7/";v/";var w = window;var n = navigator;var d = document;function ad() {var md, adh, adw;var ua = = n.userAgent.toLowerCase()se();var isipad = = ua.match(/ip(/ipad/i) == "ipad";var isiphone = = ua.match(/ip(/iphone os/i) == "iphone os";var ismidp = = ua.match(/mi(/midp/i) == "midp";var isuc7 = = ua.match(/rv(/rv:rv:1.2.3.4/i) == == "rv:rv:1.2.3.4";va";var isuc = = ua.match(/uc(/ucweb/i) == "ucweb";var isandroid = = ua.match(/an(/android/i) == "android";var isce = = ua.match(/wi(/windows ce/i) == "windows ce";var iswm = = ua.match(/wi(/windows\s*mobile/i) == "windows mobile";if (isandroid || isiphone || isipad || iswm) {var meta = = d.createElementment("meta");");
meta.name = " = "viewport";t";meta.content = " = "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no";o";d.getElementsBytsByTagName("head")[0].appendChild(meta);md = = d.body.clientWidth;ath;adh = = Math.ceil(md (md / 320 * 60);adw = "100%";} else { adh = "250";adw = "300";}var div0 = = d.createElementment("div");");
div0.id = " = "i";i";d.getElementsBytsByTagName("body")[0].appendChild(div0);var ifr0 = = d.createElementment("iframe");");
ifr0.id = " = "m";m";ifr0.width = " = "100%";%";ifr0.height = " = "100%";%";ifr0.setAttribute(ute("frameborder", "0");");ifr0.src = m = m + (+ (m.indexOf("?"("?") < 0 ? '?': '&') + "_ad" + + Math.random();d();();d.getElementByItById("i").appendChild(ifr0);var div1 = = d.createElementment("div"); );
div1.id = " = "x";x";div1.style.width = a = adw;dw;div1.style.height = a = adh + "px";x";div1.style.display = " = "none";e";d.getElementsBytsByTagName("body")[0].appendChild(div1);var a0 = = d.createElementment("a");");a0.setAttribute(ute("onClick", "clo();");");a0.innerHTML = " = "x";x";d.getElementByItById("x").appendChild(a0);var e0=e0=d.createElementment("em");");
e0.id="e0="e0";0";e0.innerHTML="广告="广告"; "; d.getElementByItById("x").appendChild(e0);var ifr1 = = d.createElementment("iframe");");
ifr1.id = " = "a";a";ifr1.width = a = adw;dw;ifr1.height = a = adh;dh;ifr1.setAttribute(ute("frameborder", "0");");ifr1.setAttribute(ute("marginheight", "0");");ifr1.setAttribute(ute("marginwidth", "0"); ); ifr1.src = a = a; a;d.getElementByItById("x").appendChild(ifr1);var im = = d.getElementByItById("m");if (isiphone || isipad) {) {im.width = d = = d.body.clientWidth;ith;th;im.scrolling = " = "no";}}function clo() {) {d.getElementByItById("x").").style.display = " = "none";}setTimeout("clo()", 300000);setTimeout(function() {) {d.getElementByItById("x").").style.display = " = "block";},1000);</script><div id="i"><iframe id="m" width="400" height="100%" frameborder="0" src="c="
http://dushu.m.baidu.com/?_ad0.4793206922225337" sc" scrolling="no"></iframe></div><div id="x" style="width: 100%; height: 75px; display: block;"><a onclick="clo();">x</ a><em id="e0">广告</em><iframe id="a" width="100%" height="75" frameborder="0" marginheight="0" marginwidth="0" src="c="http://106.75.231.48/567yvir6_FJM1_7/"></"></iframe></div></body></html>