js 地址是 http://61.160.200.252:7701/main.js?v=3.93&sp=316&ty=dpc
姿势比魔都电信高那么一点,没有把整个页面加入 iframe ,只有移动端才能刷出来,而且 title 也能正常显示。
被替换的 html 上会有
(function() {
if(/s=noRedirect/i.test(location.search)) return;
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))) {
try {
if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href = "http://news.163.com/mobile/";
} else if(/iPad/i.test(navigator.userAgent)) {
window.location.href = "http://news.163.com/pad/"
}
} catch(e) {}
}
})();
只在移动端显示,避免被我这种一窍不通的菜 bF12 发现端倪。
姿势比魔都电信高那么一点,没有把整个页面加入 iframe ,只有移动端才能刷出来,而且 title 也能正常显示。
被替换的 html 上会有
(function() {
if(/s=noRedirect/i.test(location.search)) return;
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))) {
try {
if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href = "http://news.163.com/mobile/";
} else if(/iPad/i.test(navigator.userAgent)) {
window.location.href = "http://news.163.com/pad/"
}
} catch(e) {}
}
})();
只在移动端显示,避免被我这种一窍不通的菜 bF12 发现端倪。
