CINXE.COM
网易新闻
<html lang="zh" data-dpr="1" style="font-size: 48px;"> <head> <meta charset="UTF-8" /> <title>网易新闻</title> <script type="text/javascript"> // 强跳https (function () { var targetProtocol = "https:"; if (window.location.protocol != targetProtocol) { var neteaseHostReg = /.163.com/; var referrer = document.referrer; var isFromNetease = !referrer || neteaseHostReg.test(referrer); var queryString = isFromNetease ? '' : 'isFromOtherWeb=true'; var host = window.location.host; var pathname = window.location.pathname; var search = window.location.search; var hash = window.location.hash; if (queryString) { if (search) { search = search + '&' + queryString; } else { search = '?' + queryString; } } var targetHref = targetProtocol + '//' + host + pathname + search + hash; window.location.replace(targetHref); } })() </script> <script> var ua = navigator.userAgent; if (!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(ua) || !/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(ua)) { location.href = 'http://www.163.com/newsapp'; } </script> <script async="" src="//static.ws.126.net/utf8/3g/util/antanalysis.min.js"></script> <script async="" src="//static.ws.126.net/163/frontend/antnest/NTM-CQNTS2VV-13.js"></script> <script> (function(doc, win) { var docEl = doc.documentElement, isIOS = navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), dpr = isIOS ? Math.min(win.devicePixelRatio, 3) : 1, dpr = window.top === window.self ? dpr : 1, //被iframe引用时,禁止缩放 dpr = 1, scale = 1 / dpr, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'; docEl.dataset.dpr = dpr; var metaEl = doc.createElement('meta'); metaEl.name = 'viewport'; metaEl.content = 'initial-scale=' + scale + ',maximum-scale=' + scale + ', minimum-scale=' + scale; docEl.firstElementChild.appendChild(metaEl); var recalc = function() { var width = docEl.clientWidth; if (width / dpr > 750) { width = 750 * dpr; } docEl.style.fontSize = 100 * (width / 750) + 'px'; }; recalc(); if (!doc.addEventListener) return; win.addEventListener(resizeEvt, recalc, false); })(document, window); </script> <meta name="viewport" content="initial-scale=1,maximum-scale=1, minimum-scale=1" /> <meta name="format-detection" content="telephone=no" /> <style> * { margin: 0; padding: 0; border: 0; -webkit-user-select: text; } a, img { -webkit-touch-callout: none; /*禁用长按弹出系统菜单*/ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); outline: none; } body { background: #ffffff; } .main-body { position: relative; width: 7.5rem; margin: 0 auto; /* height: 69.58rem; */ overflow: hidden; } .placeholder-0 { height: 17.5rem; } .placeholder-1 { height: 12.8rem; } .placeholder-2 { height: 11.43rem; } .placeholder-3 { height: 11.88rem; } .placeholder-4 { height: 13.12rem; } img { width: 100%; } .btn1, .btn2 { position: absolute; width: 4.3rem; height: 0.92rem; left: 50%; margin-left: -2.15rem; -webkit-appearance: none; background: transparent; border: 0; } .btn1 { top: 4.47rem; } .btn2 { top: 63.67rem; } </style> </head> <body ontouchstart=""> <iframe id="iframe" style="display: none !important;"></iframe> <div class="main-body"> <div class="placeholder-0" data-loaded="1"> <img src="//static.ws.126.net/163/f2e/tie/downloadNew01.jpg" alt="网易新闻 简单阅世界" /> </div> <div class="placeholder-1"> <img src="//static.ws.126.net/utf8/3g/images/download/download-02.jpg" /> </div> <div class="placeholder-2"> <img src="//static.ws.126.net/utf8/3g/images/download/download-03.jpg" /> </div> <div class="placeholder-3"> <img src="//static.ws.126.net/utf8/3g/images/download/download-04.jpg" /> </div> <div class="placeholder-4"> <img src="//static.ws.126.net/utf8/3g/images/download/download-05.jpg" /> </div> <div class="js-download btn1"></div> <div class="js-download btn2"></div> </div> <script type="text/javascript"> function localParam(search, hash) { var fn; search = search || window.location.search; hash = hash || window.location.hash; fn = function(str, reg) { var data; if (str) { data = {}; str.replace(reg, function($0, $1, $2, $3) { data[$1] = $3; }); return data; } }; return { search: fn(search, new RegExp('([^?=&]+)(=([^&]*))?', 'g')) || {}, hash: fn(hash, new RegExp('([^#=&]+)(=([^&]*))?', 'g')) || {} }; } var source = localParam().search.s; // document.getElementById('iframe').src = 'newsapp://startup?s=' + source document .querySelector('.main-body') .addEventListener('click', function(e) { if (!e.target.classList.contains('js-download')) return; var ua = navigator.userAgent.toLowerCase(); var isIOS = (/iphone|ipad|ipod/i).test(ua); var isAndroid = (/android/i).test(ua); var isWeixin = (/MicroMessenger/i).test(ua); var isQQ = (/QQ\//i).test(ua); var isQQBrowser = (function () { if (isIOS) { return (/MQQBrowser/i).test(ua) } else if ((/MQQBrowser/i).test(ua) && !isQQ && !isWeixin) { return true } return false })(); if (isIOS) { location.href = 'https://itunes.apple.com/app/apple-store/id425349261?mt=8' } else if (isQQ || isQQBrowser || (isAndroid && isWeixin)) { location.href = 'https://a.app.qq.com/o/simple.jsp?pkgname=com.netease.newsreader.activity&ckey=CK1453551940543'; } else { location.href = 'http://static.ws.126.net/163/apk/newsapp/newsreader_netease_gw.apk'; } return; var isIDevicePhone = /iphone|ipod/gi.test(navigator.platform); var isIDeviceIpad = !isIDevicePhone && /ipad/gi.test(navigator.platform); var isIDevice = isIDevicePhone || isIDeviceIpad; var isAndroid = !isIDevice && /android/gi.test(navigator.userAgent); var isandroid2_x = !isIDevice && /android\s?2\./gi.test(navigator.userAgent); var isIEMobile = !isIDevice && !isAndroid && /MSIE/gi.test(navigator.userAgent); var wxios = document.querySelector('.wxios'); var wxandroid = document.querySelector('.wxandroid'); // var android_url = (!isandroid2_x) ? "http://3g.163.com/links/4304" : "http://3g.163.com/links/6264"; // var ios_url = "http://3g.163.com/links/3615"; var android_url = !isandroid2_x ? 'http://static.ws.126.net/163/apk/newsapp/newsreader_netease_gw.apk' : 'http://file.ws.126.net/3g/client/newsreader_netease_2.3.apk'; // var ios_url = 'https://itunes.apple.com/cn/app/id425349261?mt=8'; var ios_url = 'https://itunes.apple.com/app/apple-store/id425349261?mt=8'; var wphone_url = 'http://3g.163.com/links/3614'; if (isIDevice) { if (isWeixin) { // window.open('http://3g.163.com/ntes/special/0034073A/weixinopen.html?uri=' + ios_url); window.open( 'http://temp.163.com/special/weixinopen?uri=' + ios_url ); } else { window.location = ios_url; if (isIDeviceIpad) { return; } } } else if (isAndroid) { if (isWeixin) { // window.open('http://3g.163.com/ntes/special/0034073A/weixinopen.html?uri=' + android_url); window.open( 'http://temp.163.com/special/weixinopen?uri=' + android_url ); } else { // window.location.href = 'newsapp://startup?s=uc' window.location.href = android_url; return; } } else if (isIEMobile) { window.location = wphone_url; return; } else { // window.open( // 'http://www.163.com/special/00774IQ6/newsapp_download.html' // ); window.location.href = 'http://www.163.com/newsapp'; return; } }); document.addEventListener('WeixinJSBridgeReady', function() { // 分享到朋友圈; WeixinJSBridge.on('menu:share:timeline', function(argv) { WeixinJSBridge.invoke('shareTimeline', { img_url: 'http://static.ws.126.net/utf8/3g/touch/images/new-logo.png', img_width: '150', img_height: '150', link: window.location.href, desc: '3g.163.com', title: '全网实时资讯,热点有料直播,快来下载吧!' }); }); WeixinJSBridge.on('menu:share:appmessage', function(argv) { WeixinJSBridge.invoke('sendAppMessage', { img_url: 'http://static.ws.126.net/utf8/3g/touch/images/new-logo.png', link: window.location.href, desc: '全网实时资讯,热点有料直播,快来下载吧!', title: '网易新闻' }); }); WeixinJSBridge.on('menu:share:weibo', function(argv) { WeixinJSBridge.invoke('shareWeibo', { desc: '全网实时资讯,热点有料直播,快来下载吧!', url: window.location.href }); }); WeixinJSBridge.on('menu:share:qq', function(argv) { WeixinJSBridge.invoke('shareQQ', { img_url: 'http://static.ws.126.net/utf8/3g/touch/images/new-logo.png', link: window.location.href, desc: '全网实时资讯,热点有料直播,快来下载吧!', title: '网易新闻' }); }); WeixinJSBridge.on('menu:share:QZone', function(argv) { WeixinJSBridge.invoke('shareQZone', { img_url: 'http://static.ws.126.net/utf8/3g/touch/images/new-logo.png', link: window.location.href, desc: '3g.163.com', title: '全网实时资讯,热点有料直播,快来下载吧!' }); }); }); // 滚动加载图片 var imgs = document.querySelectorAll('[data-echo]'); var clientHeight = document.documentElement.clientHeight; document.addEventListener('scroll', scroll, false); function scroll() { var firstImg = document.querySelector('.placeholder-0'); var top = firstImg.getBoundingClientRect().top; var loaded = firstImg.dataset.loaded; if (top < clientHeight - 100 && !loaded) { for (var i = 0; i < imgs.length; i++) { var item = imgs[i]; var imgsrc = item.dataset.echo; item.innerHTML = '<img src="' + imgsrc + '" />'; item.removeAttribute('data-echo'); } // imgs.forEach(function(item){ // var imgsrc = item.dataset.echo // item.innerHTML = '<img src="' + imgsrc + '" />' // item.removeAttribute('data-echo') // }) firstImg.dataset.loaded = 1; } } </script> <script type="text/javascript"> (function(w, d, s, n) { var f = d.getElementsByTagName(s)[0], k = d.createElement(s); k.async = true; k.src = '//static.ws.126.net/163/frontend/antnest/' + n + '.js'; f.parentNode.insertBefore(k, f); })(window, document, 'script', 'NTM-CQNTS2VV-13'); </script> <script> (function() { var performance = window.performance; if (!performance) { return; } var send = function() { var t = performance.timing; var pobj = {}; var times = {}; var loadTime = t.loadEventEnd - t.connectStart; times['redirect'] = t.redirectEnd - t.redirectStart; times['appcache'] = t.domainLookupStart - t.fetchStart; times['lookupDomain'] = t.domainLookupEnd - t.domainLookupStart; times['TCPconnect'] = t.connectEnd - t.connectStart; times['HTTPSconnect'] = t.secureConnectionStart != 0 ? t.connectEnd - t.secureConnectionStart : 0; times['HTTPrequest'] = t.responseStart - t.requestStart; times['unload'] = t.unloadEventEnd - t.unloadEventEnd; times['HTTPresponse'] = t.responseEnd - t.responseStart; times['DOMloaded'] = t.domComplete - t.domLoading; times['DOMrender'] = t.domInteractive - t.domLoading; times['domContentLoad'] = t.domContentLoadedEventEnd - t.domContentLoadedEventStart; times['onloadEvent'] = t.loadEventEnd - t.loadEventStart; times['TTFB'] = t.responseStart - t.fetchStart; times['domReady'] = t.domContentLoadedEventEnd - t.navigationStart; times['pageLoaded'] = t.loadEventEnd - t.navigationStart; performance.getEntriesByType('paint').forEach(function(e) { pobj[e.name] = e.startTime; }); times.firstpaint = pobj['first-paint']; times.firstcontentpaint = pobj['first-contentful-paint']; if (loadTime <= 0) { setTimeout(function() { send(); }, 200); return; } NTESAntAnalysis.sendData({ projectid: 'NTM-CQNTS2VV-13', val_nm: 'c-ntm', val_act: 'performance_mobile', info: { timing: times } }); }; send(); })(); </script> </body> </html>