首页 资讯 综合 科技 财经 图片 生活 公益 热点 健康

产经

旗下栏目: 国际 国内 产经 地方

歪果立正:中国数万智能设备或遭美远程控制

来源:凤凰资讯 作者:好疯传媒 人气: 发布时间:2016-05-26
摘要:!DOCTYPE html html head meta http-equiv = Content-Type content = text/html; charset=utf-8 / meta name = viewport content = width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0 / script type = text/javascript // 来自
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"/> <script type="text/javascript"> // 来自手凤的下载地址(带url参数ch=news_sf) // 5301 window.sfDownUrlTop = 'http://api.3g.ifeng.com/ifengtg?adid=18952'; // 5302 window.sfDownUrlBottom = 'http://api.3g.ifeng.com/ifengtg?adid=18953'; // alipay window.alipayDownUrl = 'http://api.3g.ifeng.com/ifengtg?adid=19369'; </script> <script type="text/javascript" src="http://y2.ifengimg.com/ifengimcp/sta/20140312/jquery_1.11.js"></script> <script type="text/javascript" src="http://y1.ifengimg.com/ifengimcp/sta/20141023/jquery.cookie.js_103559.js"></script> <title>歪果立正:中国数万智能设备或遭美远程控制-凤凰新闻</title> <script type="text/javascript" src="http://y0.ifengimg.com/ifengimcp/sta/20140612/ground(8).js_102623.js"></script> <link rel="stylesheet" href="http://y0.ifengimg.com/a/2015/0324/vplayer.css"> <script> function autoResizeVideo(objVideo){ var Ratio = 4/3; var w = objVideo.width(); var h = objVideo.height(); var rW,rH; if(w/h == Ratio){ rW = w; rH = h; }else if(w/h > Ratio){ rW = w; rH = w/Ratio; }else if(w/h < Ratio){ rW = Ratio*h; rH = h; if(rW >= w){ rW = w; rH = w/Ratio; } } objVideo.width(rW); objVideo.height(rH); } setTimeout(function(){ autoResizeVideo($('.mod-yivideo-warp')); }, 10); </script> <link rel="stylesheet" href="http://y0.ifengimg.com/a/2015/0324/sharedoc.css" /> <style type="text/css" > .nobg{position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin-left: -35px; margin-top: -35px; padding: 0; display: none; z-index: 2000;} .yvp_container_hide .yvp_controls { bottom: 0px; } .zw-real strong{display:inline;} .er_desc img{ width: 100%;} .p_text_title { font-size: large; background: url(http://y0.ifengimg.com/ifengimcp/pic/20160322/8facef9633b57a5b0cf4_size2_w4_h25.png) no-repeat 5px 0px; padding: 0 0 0 15px; } .p_text_date { color: #8f8f8f; font-size: 14px; padding: 0 0 0 15px; } #article_content { /**height:8000px;**/ overflow-y: hidden; position:relative; } #whole_content { overflow: hidden; position:relative; } #div_cover{ z-index: 200; position:absolute; bottom:0; width:100%; height:30px; background-color:#F5; background: -webkit-linear-gradient(rgba(245,245,245,0),rgba(245,245,245,0.8)50% ,rgba(245,245,245,1)); /* Safari 5.1 - 6 */ background: -o-linear-gradient(rgba(245,245,245,0),rgba(245,245,245,0.8)50% ,rgba(245,245,245,1)); /* Opera 11.1 - 12*/ background: -moz-linear-gradient(rgba(245,245,245,0),rgba(245,245,245,0.8)50% ,rgba(245,245,245,1)); /* Firefox 3.6 - 15*/ background: linear-gradient( rgba(245,245,245,0),rgba(245,245,245,0.8)50% ,rgba(245,245,245,1) ); /* 标准的语法 */ display:none; } #show_more_btn { width: 340px; height: 50px; margin: 10px auto; font-size: 20px; text-align: center; border: none; background: none; color: #36A9FF; display: none; } .gt { font-size:16px; color:#747474; padding:4px 0; border:none;} .gt_list li div.pl p{font-size:15px; line-height:120%} .lookmore { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px;} </style> </head> <body> <div class="se clearfix" id="header-wrap"> <!-- <a id="openApp" class="openApp" href=""> --> <a id="openApp" class="openApp" href="javascript:;"> <span class="s_l"><!--<img src="http://y3.ifengimg.com/ifengimcp/pic/20150315/7fbd33d12875e5b23ed8_size8_w382_h74.png" />--><img src="http://y3.ifengimg.com/ifengimcp/pic/20160413/43d5de9c0b195f6ef1ca_size10_w382_h74.png"></span> <span class="s_r"><i>立即打开</i></span> </a> </div> <div class="footer_fixed" style="display:none;"> <!-- <a id="openApps" class="openApp" href="" id=""> --> <a id="openApps" class="openApp" href="javascript:;"> <span class="ftf_l"><img src="http://y3.ifengimg.com/ifengimcp/pic/20160413/c52515c0ff6c7b0a2405_size8_w266_h74.png" /></span> <span class="ftf_r"><b>立即打开</b></span> </a> <i class="btn_close"></i> </div> <div class="open-pop"><img class="ios" src="http://y2.ifengimg.com/ifengimcp/pic/20141219/3c07313cb9cf70a16a69_size44_w640_h415.png"><img class="android" src="http://y3.ifengimg.com/ifengimcp/pic/20141219/4a7d39ba1cf16d09ad3d_size40_w640_h415.png"></div> <div class="container"> <div id="whole_content" class="zw-word"> <h3 class="n-title">歪果立正:中国数万智能设备或遭美远程控制</h3> <div class="pl-all clearfix"> <p class="chuchu">凤凰资讯 2016/05/25 18:30</p> </div> <!-- 文章内容开始位置 --> <div id="article_content" class="zw-real"> <div class="pic-video"><article style="position:relative;background:#000;"> <div id="mod_player" class="mod-yivideo-warp" style="min-height:240px;"></div> <div id="mod_player_poster" class="mod-yivideo-warp" style="position:absolute;left:0;right:0;top:0;bottom:0;display:none;"> <div class="yvp_container yvp_container_hide"> <div style="width:100%;height:100%;background:url(http://d.ifengimg.com/mw640_q95/p0.ifengimg.com/pmop/2016/05/25/0359b316-fed1-4d5f-9673-ccc05207060f.jpg) center center no-repeat;background-size:contain;opacity:0.5;-moz-opacity:0.5;filter:alpha(opacity=50);"></div> <div class="topline"></div> <div class="btmline"></div> </div> </div> </article></div> <script type="text/javascript"> if(/android/ig.test(navigator.userAgent)){ var $poster = $("#mod_player_poster"); $poster.height($poster.width() * .75).show(); $("body").append("<style>.mod-yivideo-warp{z-index:10;}.mod-yivideo-warp .fugai{background:none;}</style>"); }else{ setTimeout(function(){ $("video").attr("webkit-playsinline", true); }, 500); } </script><p class="duanluo">原标题:歪果立正:我国数万智能设备或遭美远程控制</p><p class="duanluo"><strong>歪果第二期</strong></p><p class="duanluo">杨壮:就是它了,在线支付,输入密码。</p><p class="duanluo">嘛那,嘛那,眼睛往哪儿看呢?</p><p class="duanluo">耶果:别吵,我进入黑客的入门阶段呢。</p><p class="duanluo">杨壮:不是,你这叫黑客啊?</p><p class="duanluo">耶果:恩。</p><p class="duanluo">杨壮:你要脸吗?你这跟明抢有什么区别啊?不是,你们这些外国人怎么就喜欢做这些偷鸡摸狗的事呢?</p><p class="duanluo">耶果:呵呵,我送你9个大字。不看报,不知道自己黑 。外媒不也说了吗,美国赛门铁克最近的报告说,中国已经超过美国。在网络黑客威胁已经成为头号的来源。</p><p class="duanluo">杨壮:难道我们蓝翔又开始做毕设了 ?</p><p class="duanluo">耶果:蓝翔 ?</p><p class="duanluo">杨壮:我说哥们,这事我还真听说了。你知道我有什么感觉呢?就是见过孙子呢,可没见过这么孙子的 。你说美国这么说中国啊……</p><p class="duanluo">耶果:按中国话来说就是,猪八戒败阵倒打一耙 。</p><p class="duanluo">杨壮:你说美国啊,连自己盟友女总统穿什么内裤都要偷窥一下 ,你说它哪儿来的勇气,说别的国家威胁大呢?</p><p class="duanluo">耶果:就是爱。</p><p class="duanluo">合唱:我们都需要勇气,来制造流言蜚语。只要小弟们眼神肯定,不要脸就有意义。</p><p class="duanluo">杨壮:我还看新闻了哈,上面说美国公司的调查对象啊,都是以像菲律宾啊,这样的与中国不太友好的国家为主。</p><p class="duanluo">耶果:怪不得。</p><p class="duanluo">杨壮:可不是嘛?就去年啊,中国境内啊被木马僵尸控制的主机有3/5来自境外 ,而且有几万台 的工业智能设备,被美国的IP 所控制。</p><p class="duanluo">耶果:那谁让他们掌控左右的核心资源呢?你说全世界根服务器只有12台,他们掌控了9台 。人家跟伊拉克、利比亚 打的时候呢,直接让人家从网络世界蒸发了。</p><p class="duanluo">杨壮:我还听说了,美国政府啊不光有专门的网络机构,每年还召开黑客大会呢。专门购买这些黑客所掌握的别的国家的Bug。</p><p class="duanluo">耶果:我就特烦,那种既是裁判员又是运动员,说谁是头号威胁,他就跑不了。</p><p class="duanluo">杨壮:没错!专家也是这么说的。</p><p class="duanluo">【专家】:美国在互联网领域拥有的霸权地位,远远高于金融、军事和其他一般的领域。美国经常是以贼喊捉贼,把中国列为互联网的敌人,号召世界各国、个人网络公司对中国进行网络攻击。</p><p class="duanluo">杨壮:这件事说明啊,掌握话语权是多么的重要,所以呢我也劝那些中国的土豪企业家们,别老玩足球了 ,时不时的你也收购个CNN什么的,没事发发文章。</p><p class="duanluo">耶果:不过你们收购CNN也看不到啊。</p><p class="duanluo">杨壮:我发现你够坏的你啊?这就拐弯的说我们中国防火墙 是吧?</p><p class="duanluo">耶果:杨壮啊,你那脸书有多少粉丝啊 ?</p><p class="duanluo">杨壮:少跟我提脸书,提了我就生气。我跟你说啊,新疆爆恐的时候,这些恐怖分子 就是通过这个脸书来联络的,别以为西方都是正义使者,背地里坏着呢。</p><p class="duanluo">耶果:这么一说防火墙就是像盔甲一样,为了保护网络安全,为了稳定社会环境是吧?(这句可以找一下流利一点的段落么?)</p><p class="duanluo">杨壮 :可不是吗,我跟你说啊,幸亏有这防火墙,你想啊,要不然像中国这些热血青年,还有这些键盘侠 吗?每天给你玩这个表情包大战 ,弄的世界级的网络服务器都瘫痪了,是不是怪不好意思的。</p><p class="duanluo">耶果:你这么一说,防火墙是为了保护咱们歪国仁啊</p><p class="duanluo">杨壮:行了,不跟你胡扯了。总而言之就是防人之心不可无,有了这堵墙当保护盾,这不心理踏实了吗?要是人家敢翻进来啊,咱们就咔碴。NO,不是咔碴,是哒哒哒哒哒 。</p> </div> <div id="div_cover"></div> </div> <button id="show_more_btn"><img width=80 alt="展开" src="http://p2.ifengimg.com/ifengimcp/pic/20160518/83c6c434b5b7b3c210af_size4_w154_h34.png"></button> </div> <style>.er_desc p{min-width: 10px; min-height: 16px;}</style> <style> .jctj_all { position: relative; margin: 12px 9px 0; } .jctj_all article { position: relative; } .jctj_all img { display: block; width: 100%; } .jctj_all p { line-height: 18px; padding: 5px 12px 4px 12px; background: #e5e5e5; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .jctj_all p em { float: left; display: inline-block; background: url(http://y1.ifengimg.com/ifengimcp/pic/20150315/0f0f6fe5b05600568e8e_size1_w21_h21.png) no-repeat; background-size: 11px 11px; width: 11px; height: 11px; position: relative; top: 4px; } .jctj_all p a { display: inline-block; font-size: 13px; padding-left: 3px; width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; position: relative; top: 0px; } videotj { position: absolute; right: 0; bottom: 0; width: 50px; text-align: center; height: 26px; font-size: 12px; z-index: 200; background: rgba(0, 0, 0, 0.5); } .videotj a { color: #FFF; } .yc_news li h4 span { float: right; display: inline-block; background: url(http://y0.ifengimg.com/ifengimcp/pic/20150315/73a9ae3fcf9c9be0b7a4_size1_w24_h20.png) no-repeat right 4px; background-size: 12px 10px; padding-right: 17px; } </style> <div ><div style="margin-left:9px" class="gt" >相关阅读</div><div class="jctj_all"><ul style="list-style-type:disc;margin-left:20px"><li style="color:#f54343;font-size:12px;line-height:120%;margin:12px 0px 12px 0px"><a style="color:#004276;font-size:16px;line-height:120%;" href="sharenews.f?aid=109378431&amp;mid=4qWmdC" alt="" >融资失败“药给力”暂停送药业务,谁的“杯具”?</a></li></ul><hr style="height:0px;border:none;border-top:1px solid #dedede;" ><ul style="list-style-type:disc;margin-left:20px"><li style="color:#f54343;font-size:12px;line-height:120%;margin:12px 0px 12px 0px"><a style="color:#004276;font-size:16px;line-height:120%;" href="sharenews.f?aid=109365907&amp;mid=4qWmdC" alt="" >超级高铁挺进现实:从北京到上海只要45分钟</a></li></ul><hr style="height:0px;border:none;border-top:1px solid #dedede;" ><ul style="list-style-type:disc;margin-left:20px"><li style="color:#f54343;font-size:12px;line-height:120%;margin:12px 0px 12px 0px"><a style="color:#004276;font-size:16px;line-height:120%;" href="sharenews.f?aid=109117611&amp;mid=4qWmdC" alt="" >全球最大色情网站Pornhub怕被黑,出钱让人找bug</a></li></ul></div></div> <div class="hotcomment"> <div class="gt">热门跟帖</div> <ul class="gt_list" id="commentList"> </ul> </div> <div class="openApp lookmore"><a style="display:block;height:44px;" href="javascript:;" >去凤凰新闻看更多评论(<font class='dataCount'>0</font>)</a></div> <style> .jctj_all{position: relative; margin:12px 9px 0;} .jctj_all article{ position:relative; } .jctj_all img{ display:block;width:100%;} .jctj_all p{line-height:18px; padding:5px 12px 4px 12px; background:#e5e5e5;white-space:nowrap;text-overflow:ellipsis;overflow: hidden;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box; } .jctj_all p em{ float: left; display: inline-block; background: url(http://y1.ifengimg.com/ifengimcp/pic/20150315/0f0f6fe5b05600568e8e_size1_w21_h21.png) no-repeat; background-size: 11px 11px; width: 11px; height: 11px; position: relative; top:4px;} .jctj_all p a{ display: inline-block; font-size:13px; padding-left: 3px;width: 100%;white-space:nowrap;text-overflow:ellipsis;overflow: hidden;position: relative;top: 0px;} .pic-list { margin: 3px 0 13px 0; padding: 0 9px; width: 100%; position: relative; z-index: 100; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .pic-list li { float: left; width: 50%; margin-top: 10px; text-align: center; position: relative; } .pic-list li article { position: relative; width: 98%; } .pic-list li:nth-child(2n){float: right;} .pic-list li:nth-child(2n) article{float: right;} .pic-list li img { display: block; width: 100%; } .pic-list li p { line-height: 22px; height: 46px; overflow: hidden; width: 98%; margin: auto; text-align: left; padding: 2px 0 0 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; font-size: 14px; color: #4b4b4b; } .pic-list li p a{ color:#033f71} .news_pic { margin: 32px 9px 0 9px; font-weight: bold; color: #303030; font-size:18px; } .yc_news { font-size: 14px; margin: 4px 9px 0 9px; } .yc_news li { padding: 10px 0; border-bottom: 1px solid #e5e5e5; min-height: 42px; position: relative; -webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box; } /*.yc_news li:last-child{border-bottom:0;}*/ .yc_news li p { font-size: 16px; line-height: 20px; height:48px; } .yc_news li img { width: 89px; height: 64px; position: absolute; top: 10px; left: 0; } .yc_news li h4 { font-size: 12px; margin-left: 99px; color: #a5a5a5; line-height: 16px; position: relative; bottom: -2px; } .yc_news li h4 span{ float: right;display: inline-block; background: url(http://y0.ifengimg.com/ifengimcp/pic/20150315/73a9ae3fcf9c9be0b7a4_size1_w24_h20.png) no-repeat right 4px; background-size: 12px 10px; padding-right: 17px; color: #a5a5a5; } .heng_three { font-size: 14px; margin:0 9px;border-bottom: 1px solid #e5e5e5; padding: 6px 0;} .heng_three h3{ font-size: 16px; line-height: 22px; padding-bottom: 10px; } .heng_three h4 { font-size: 12px; color: #a5a5a5; line-height: 16px; margin-top: 8px; } .heng_three h4 span{ float: right;display: inline-block; background: url(http://y0.ifengimg.com/ifengimcp/pic/20150315/73a9ae3fcf9c9be0b7a4_size1_w24_h20.png) no-repeat right 3px; background-size: 12px 10px; padding-right: 17px; color: #a5a5a5; } .hpic_list{ margin: 0; padding:0; font-size: 0; text-align: center;} .hpic_list li{ display: inline-block;vertical-align: top; letter-spacing: normal; word-spacing: normal; font-size:12px; width:32.3%;} .hpic_list li img{ width:100%; display: block;} .hpic_list li:first-child{ float:left;} .hpic_list li:last-child{ float:right;} .loadings{ text-align: center; color: #868686; padding: 2px 0 12px 0; font-size: 15px;} .videotj{ font-size: 12px;position:absolute;right:0;bottom:0;width:50px; text-align:center;height:26px; z-index:200; background:rgba(0, 0, 0, 0.5);} .videotj a{ color:#FFF;} </style> <div > <br> <div class="gt" style="margin-left:9px">精彩推荐</div> <div class="jctj_all"><article><a href="sharenews.f?aid=109619913&amp;mid=4qWmdC"><img src="http://d.ifengimg.com/w604_h374_q95/p1.ifengimg.com/ifengimcp/pic/20160526/ac86edcfccddb3302ba0_size172_w640_h360.jpg" alt=""></a><div class="videotj"><a href="sharenews.f?aid=109619913&amp;mid=4qWmdC">图集</a></div></article><p><em></em><a href="sharenews.f?aid=109619913&amp;mid=4qWmdC">去凤凰新闻看『三姐妹未成年被嫁作童养媳生子 8年4次逃婚』</a></p></div><input type="hidden" id="recommendPage" value="1" /> <input type="hidden" id="maxnum" value="5" /> <div id='recommendList' ></div> <div id='getMoreRe'style="hight:50px;" class="loadings">正在载入...</div> <div class="add150127" style="display: none;height:28px;line-height:15px;margin-bottom:10px;"> <a href="####" class="openApp lookmore" style="-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;">没看够?去凤凰新闻看更多</a> </div> </div> <script> window.IFENG || (window.IFENG = {}); var recommend = {"1":["109608690","109589712","109601713","109585459","109616908","109608701","109598407","109557196","109604684","109613573"],"2":["109600100","109597640","109580808","109594701","109609297","109602507","109576841","109601097","109599909","109587031"],"3":["109617163","109588159","109587070","109613250","109596560","109605803","109598395","109608684","109592454","109601142"],"4":["109610202","109611045","109611816","109597627","109589818","109592449","109601584","109600860","109596246","109602940"],"5":["109551045","109616668","109608250","109525607","109616994"]}; var countrecommend = 5; var doctype = 4; var p=1; if(p == countrecommend){ $("#getMoreRe").hide(); } if(!recommend){ $("#recommendList").html("暂无内容"); } function showlazys(){ $(".lazys").show().lazyload({ placeholder : "http://d.ifengimg.com/w196_h142/s2.mimg.ifeng.com/upload/day_130722/201307221503438679_iifeng.png", effect : showeffect, effectspeed:500, threshold:200 }); } function getRecommend(recommendPage){ console.log(recommendPage); console.log(countrecommend); if(recommend && countrecommend>=1 && recommendPage<= countrecommend){ var recommendresult = recommend[recommendPage]; console.log(recommendresult); if(recommendresult){ $("#getMoreRe").show(); var delay = Math.max(IFENG.lastRequest ? IFENG.lastRequest + 1000 - (+new Date()) : 0, 500); setTimeout(function(){ IFENG.lastRequest = +new Date(); $.ajax({ type : "POST", url : "ajaxrecommend", data : {recommendresult:recommendresult,doctype:doctype}, success:function(datas){ if(doctype==9){ if(recommendPage==1){ $("#recommendListPic").html(datas); } else if(recommendPage<=countrecommend){ $("#recommendListPic").append(datas); } } else { if(recommendPage==1){ $("#recommendList").html(datas); } else if(recommendPage<=countrecommend){ $("#recommendList").append(datas); } } if(!datas || recommendPage == countrecommend){ $("#getMoreRe").hide(); if(recommendPage == countrecommend){ $('.add150127').show(); $('.add150127 a').html('没看够?去凤凰新闻看更多'); } } showlazys(); } }); }, delay); } } else { $("#getMoreRe").hide(); } } $(window).scroll(function () { clearTimeout(window.runCheckloadId); window.runCheckloadId = setTimeout(checkload, 500); }); $('#back-top a').click(function () { $('body,html').animate({ scrollTop: 0 }, 800); return false; }); checkload(); //建立加载判断函数 function checkload(){ if(doctype==9){ var oDiv = $('#recommendListPic').get(0).offsetTop;//相关视频距离顶部的高度 } else { var oDiv = $('#recommendList').get(0).offsetTop;//相关视频距离顶部的高度 } var clientHeight = $(window).height(); //窗口的高度 var scrollTop = $(window).scrollTop(); //滚动条距离顶部的高度 var maxnum = $("#maxnum").val(); IFENG.currPage || (IFENG.currPage = 1); console.log(scrollTop + clientHeight);console.log(oDiv);console.log(IFENG.currPage);console.log(maxnum); if((scrollTop + clientHeight) >= oDiv && IFENG.currPage <= maxnum){ getRecommend(IFENG.currPage); currPage = ++IFENG.currPage; // $('#recommendPage').val(recommendPage); } } </script> <div class="ftheight" style="height:52px;"></div> <script type="text/javascript" src="http://y0.ifengimg.com/ifengimcp/sta/20131211/sta_collection_4_touch_v2.3.js"></script> <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> <script> var sharetitle= "歪果立正:中国数万智能设备或遭美远程控制"; var sharelink= "http://i.ifeng.com/ixinwen/newsclient/sharenews.f?aid=109578522&from=singlemessage&isappinstalled=0"; var shareimgUrl= "http://d.ifengimg.com/w700_h700/p0.ifengimg.com/045b1890548b6056/2016/21/waiguo2.jpg"; var sharedesc= "来自凤凰新闻客户端"; var shareTimeline = "歪果立正:中国数万智能设备或遭美远程控制 -凤凰新闻"; wx.config({ debug: false, appId: "wxca6121c36061d682", timestamp: "1464268501", nonceStr: "9Jw490HXDRhicbZR", signature: "64987b43a30cba620cd7020cb9c32dca14bfe49a", jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo' // 所有要调用的 API 都要加到这个列表中 ] }); wx.ready(function () { wx.checkJsApi({ jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo'], // 需要检测的JS接口列表,所有JS接口列表见附录2, success: function(res) { // 以键值对的形式返回,可用的api值true,不可用为false console.log(res); } }); wx.error(function(res){ console.log(res); }) //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: shareTimeline, // 分享标题 link: sharelink, // 分享链接 imgUrl: shareimgUrl, // 分享图标 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: sharetitle, // 分享标题 desc: sharedesc, // 分享描述 link: sharelink, // 分享链接 imgUrl: shareimgUrl, // 分享图标 type: 'link', // 分享类型,music、video或link,不填默认为link dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: sharetitle, // 分享标题 desc: sharedesc, // 分享描述 link: sharelink, // 分享链接 imgUrl: shareimgUrl, // 分享图标 success: function () { // 用户确认分享后执行的回调函数 //alert(shareimgUrl); }, cancel: function () { // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: sharetitle, // 分享标题 desc: sharedesc, // 分享描述 link: sharelink, // 分享链接 imgUrl: shareimgUrl, // 分享图标 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); }) //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: sharetitle +' -凤凰新闻', // 分享标题 link: sharelink, // 分享链接 imgUrl: shareimgUrl, // 分享图标 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); </script> <!--<script type="text/javascript" src="http://y0.ifengimg.com/a/2015/0324/vlayer.min.js"></script>--> <script type="text/javascript" src="http://y0.ifengimg.com/a/2015/1009/ifengweb/video/vlayer_share.min.1.0.js" ></script> <script type="text/javascript" src="http://y1.ifengimg.com/a/2014/1219/openlicent.js"></script> <script type="text/javascript"> var openAppClick = false; $.extend(RedirectToNative.prototype, { _initUrl:function(tar){ if (self.platform == 'ios') { self.installUrl = tar.getAttribute('data-ios-install-url'); self.nativeNewUrl = tar.getAttribute["data-ios-native-new-url"]; self.nativeUrl = tar.getAttribute('data-ios-native-url'); self.openTime = tar.getAttribute('data-ios-open-time') || 2000; } else { self.installUrl = tar.getAttribute('data-android-install-url'); self.nativeNewUrl = tar.getAttribute["data-android-native-new-url"]; self.nativeUrl = tar.getAttribute('data-android-native-url'); self.openTime = tar.getAttribute('data-android-open-time') || 3000; self.package = tar.getAttribute('data-package') || 'com.taobao.taobao'; } self.stadigUrl = tar.getAttribute('data-stadig-url'); }, _redirectByParam : function(arg){ self._judgePlat(); if(self.platform == 'ios'){ self.installUrl = arg["data-ios-install-url"]; self.nativeNewUrl = arg["data-ios-native-new-url"]; self.nativeUrl = arg["data-ios-native-url"]; self.openTime = arg["data-ios-open-time"] || 2000; }else{ self.installUrl = arg["data-android-install-url"]; self.nativeNewUrl = arg["data-android-native-new-url"]; self.nativeUrl = arg["data-android-native-url"]; self.openTime = arg["data-android-open-time"] || 3000; self.package = arg["data-package"] || 'com.taobao.taobao'; } self.oppApk = arg["data-download-url"]; self.isGoToOppApk = arg["isGoToOppApk"]; self._gotoNative(arg); }, _gotoNative: function() { var self = this, doc = document, body = doc.body; $.each([self.nativeNewUrl/*, self.nativeUrl*/], function(i, url){ if(url){ var fresh = 0; var nowurl = "http://i.ifeng.com/ixinwen/newsclient/sharenews.f?aid=109578522&from=singlemessage&isappinstalled=0"; var uagent = navigator.userAgent; var reg = /([0-9])_([0-9])/ig; var arr = reg.exec(uagent); if(arr != null && arr.length >=3){ var iosEdition = arr[1]; }else{ var iosEdition = 0; } if(((url.indexOf("comifengnewsclient") >= 0 && iosEdition >= 9) || (openAppClick && url.indexOf("comifengnewsclient") >= 0 && iosEdition >= 9)) && isAndroid == null){ if(fresh != 1 || openAppClick){ location.href=url; if(!openAppClick){ setTimeout(function(){ location.href=nowurl+'&fresh=1'; }, self.openTime); } }else{ location.href=self.nativeNewUrl setTimeout(function(){ location.href=self.oppApk; }, self.openTime); } }else{ var iframe = doc.createElement('iframe'); iframe.id = 'J_redirectNativeFrame_' + i; iframe.style.display = 'none'; iframe.src = url; if(!body) { setTimeout(function(){ doc.body.appendChild(iframe); }); } else { body.appendChild(iframe); } (function(iframe){ setTimeout(function(){ // doc.body.removeChild(iframe); self._gotoApk(Date.now()); }, self.openTime); })(iframe); } } }); } }); </script> <script type="text/javascript" src="http://y1.ifengimg.com/ifengimcp/sta/20141023/jquery.cookie.js_103559.js"></script> <script> Object.size = function(obj) { var size = 0, key; for (key in obj) { if (obj.hasOwnProperty(key)) size++; } return size; }; //加载视频$videolist var videolist = [{"videourl":"http:\/\/ips.ifeng.com\/video19.ifeng.com\/video09\/2016\/05\/25\/4044322-280-098-1755.mp4","videoposter":"http:\/\/d.ifengimg.com\/mw640_q95\/p0.ifengimg.com\/pmop\/2016\/05\/25\/0359b316-fed1-4d5f-9673-ccc05207060f.jpg","time":"05:00"}]; // console.log(videolist); for(var i = 0; i < Object.size(videolist); i++){ if(videolist[i]){ var mod_player=''; if(i==0){ mod_player = 'mod_player'; } else { mod_player = 'mod_player'+i; } var videoplayer=videoPlayer(mod_player,{ continuousPlay:true, canfast:true, virtualFullScreen:false, setSource:function(canplayType){ if(canplayType == 'mp4'){ return { videourl:videolist[i].videourl, //videoposter :videolist[i].videoposter } } } }); $('.yvp_time_panel_total').eq(i).html(videolist[i].time); $('#mod_yvideo_player_'+i).find('.yvp_video').prepend('<img src="'+videolist[i].videoposter+'" style="height:100%; max-height:100%; max-width:100%; position:absolute;z-index:200;" id="videoposter_img" >'); $('.fugai').eq(i).on('click', function(){ $('#mod_player_poster').hide(); $(this).hide(); $(this).parent().find('.yvp_video video').get(0).play(); $(this).parent().find('.yvp_membrane').eq(0).show(); }); } } $('.yvp_overlay_play').on('click', function(){ $('#mod_player_poster').hide(); $(this).parent().find('.fugai').hide(); $(this).parent().find('.yvp_membrane').show(); }); $('.yvp_btn_val').on('click', function(){ $(this).parent().parent().parent().parent().find('.fugai').hide(); $(this).parent().parent().parent().parent().find('.yvp_membrane').show(); }); var isIos=navigator.userAgent.toLowerCase().match(/iphone|ipod/ig), isIpad=navigator.userAgent.toLowerCase().match(/ipad/ig); if(isIos || isIpad){ $('.yvp_overlay_play').addClass('nobg'); }else{ $('.yvp_overlay_play').removeClass('nobg'); } var staurlc = "http://stadig.ifeng.com/wapsta?surl=http%3A%2F%2Fi.ifeng.com%2Fsharenews4%2Fappreurl%3Fmid%3D4qWmdC&ref=http%3A%2F%2Fgngj.gog.cn%2Fsystem%2F2016%2F05%2F26%2F014933907.shtml&rand=1439331570"; $('#openApps').click(function(){ //$.post(staurlc); }); var userAgent = getUserAgent(); var showUCExtend = true; var showQQExtend = true; var JQ = $; if(userAgent.indexOf("uc") >= 0){ showQQExtend = false; }else if(userAgent.indexOf("qqbrowser") >= 0 || userAgent.indexOf("mqq") >= 0){ showUCExtend = false; } var ua = navigator.userAgent, weixin = ua.match(/MicroMessenger/ig), QQ = ua.match(/QQ\//), PC = !/iphone|ipod|ipad|android/ig.test(ua), aist = GetQueryString('isappinstalled').replace(/[ ]/g,""), isSF = GetQueryString('ch').toLowerCase() == 'news_sf', isAlipay = ua.match(/Alipay/), isAndroid=navigator.userAgent.match(/android/ig), isIos=navigator.userAgent.match(/iphone|ipod/ig), isIpad=navigator.userAgent.match(/ipad/ig); function getUserAgent(){ return navigator.userAgent.toLowerCase(); } function comment_async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; var commentDomain=new Array("icomment"); var i = 0; s.src = 'http://'+commentDomain[i]+'.ifeng.com/get.php?job=1&ishot=yes&orderby=uptimes&format=js&callback=commentShow&p=1&pagesize=5&docurl=http%3A%2F%2Fwap.ifeng.com%2Fnews.jsp%3Faid%3D109578522'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); } function commentShow(commentJsonVarStr___){ var data = commentJsonVarStr___; var html = ''; var comments = data.comments; for(var i = 0; i < comments.length; i++){ var ip_from = comments[i].ip_from; //console.log((comments[i].ext2).nickname); // var ext2 = eval("("+comments[i].ext2+")"); var uname = comments[i].uname; try{ var ext2 = JSON.parse(comments[i].ext2); uname = ext2.nickname?ext2.nickname:comments[i].uname; } catch (e) {} ip_from = ip_from.replace("省", ""); ip_from = ip_from.replace("市", ""); html += '<li><img src="http://y1.ifengimg.com/ifengimcp/pic/20150320/7ff7ecd75751ff671e48_size2_w56_h56.png" />'; html += '<div class="pl">'; html += '<h3>'+ip_from+' '+uname+'</h3>'; if(comments[i].comment_contents.length>200){ comments[i].comment_contents = comments[i].comment_contents.substring(0,200)+'...'; } html += '<p>'+comments[i].comment_contents; html += '</p></div>'; html += '</li>'; } var commentListNode = document.getElementById("commentList"); var commentListOldContent = commentListNode.innerHTML; commentListNode.innerHTML = html + commentListOldContent; if(data.join_count>=6){ $(".lookmore a").html('去凤凰新闻看更多评论('+data.join_count+')'); } else if(data.count<6 && data.count>=1){ $(".lookmore a").html('无更多评论'); } else { $('.clickfb').hide(); $(".lookmore a").html('暂无评论'); } } //立即打开 var docid = "109578522"; $('.footer_fixed').show(); $('.ftheight').show(); if($.cookie('shareIf'+docid)){ $('.footer_fixed').hide(); $('.ftheight').hide(); } $('.btn_close').click(function(){ $('.footer_fixed').hide(); $('.ftheight').hide(); $.cookie('shareIf'+docid, 1119, { expires: 365 , path:'/'}); }); //获取参数 function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); var r = window.location.search.substr(1).match(reg); if (r!=null) return (r[2]); return ''; } var opurl = "comifengnewsapp://doc/109578522", newOpurl = "comifengnewsclient://call?type=doc&id=http://api.iclient.ifeng.com/ipadtestdoc?aid=109578522&mid=4qWmdC", download = 'http://i.ifeng.com/qqyyb/appreurl?reurl='+encodeURIComponent('http://api.3g.ifeng.com/ifengtg?adid=20118'), ua = navigator.userAgent, weixin = ua.match(/MicroMessenger/ig), QQ = ua.match(/QQ\//), getCallupArgs = function(){ return {'data-ios-native-new-url':newOpurl,'data-android-native-new-url':newOpurl,'data-ios-native-url':opurl,'data-android-native-url':opurl,'data-download-url':download,'isGoToOppApk': !isSF && !isAlipay && (window.isActive == 1 || window.location.hash == '#active')}; } $(document).ready(function(){ if(isAlipay){ $('#openApp').find('i').html('立即下载'); $('#openApps').find('b').html('立即下载'); } comment_async_load(); //支持反对 $('.openApp').click(function(){ if(weixin || QQ){ if(isAndroid){ $('.open-pop .android').show(); }else if(isIos || isIpad){ $('.open-pop .ios').show(); } $('.open-pop').show(); // 主动触发 window.location.hash = 'active'; }else{ // 来自手凤/支付宝 if(isSF || isAlipay){ var $this = $(this), id = this.id; $.inArray(id, ['openApp', 'openApps']) > -1 && $this.attr({'href': isAlipay ? window.alipayDownUrl : id == 'openApps' ? window.sfDownUrlBottom : window.sfDownUrlTop}); setTimeout(function(){ $this.attr({'href': 'javascript:;'}); }, 300); }else{ window.isActive = 1; } openAppClick = true; var rtn = new RedirectToNative(); rtn._redirectByParam(getCallupArgs()); } }); $('.open-pop').click(function(){ this.style.display = 'none'; }); if(!weixin && !QQ && !isAlipay && !PC && (aist == 1 || aist == 0)){ var rtn = new RedirectToNative(); rtn._redirectByParam(getCallupArgs()); } }); $('.readpaper').click(function(){ $.post("http://i.ifeng.com/sharenews1/appreurl?url="); }); $('.lookmore').click(function(){ $.post("http://i.ifeng.com/sharenews2/appreurl?url="); }); $('#openApp').click(function(){ $.post("http://i.ifeng.com/sharenews3/appreurl?url="); }); $(document).ready(function(){ $("#Iframe1").height($(window).height()); }) $().ready(function(){ //增加显示全文的按钮 逻辑 var show_more_btn = document.getElementById('show_more_btn'); var div_cover = document.getElementById('div_cover'); //var article_content = document.getElementById('article_content'); //var early_report = document.getElementById('early_report'); var whole_content = document.getElementById('whole_content'); $(whole_content).ready(function(){ var content_total_height = whole_content.scrollHeight;//文章总高度 var content_show_height = 1000;//定义原始显示高度 if(content_total_height > content_show_height ){ div_cover.style.display = 'block'; //显示渐变遮罩层 show_more_btn.style.display = 'block';//显示更多按钮 whole_content.style.height = content_show_height + 'px';//缩短高度 show_more_btn.onclick = function(){ //点击按钮 触发事件 // $(article_content).animate({height:content_total_height + 'px'} , 500); //动态显示 whole_content.style.height = '100%'; //非动态显示高度 show_more_btn.style.display = 'none'; //隐藏更多按钮 div_cover.style.display = 'none'; //隐藏遮罩层 } } }); }); </script> <script> (function($) { $.fn.lazyload = function(options) { var settings = { threshold: 0, failurelimit: 0, event: "scroll", effect: "show", container: window }; if (options) { $.extend(settings, options) } var elements = this; if ("scroll" == settings.event) { $(settings.container).bind("scroll", function(event) { var counter = 0; elements.each(function() { if (!$.belowthefold(this, settings) && !$.rightoffold(this, settings)) { $(this).trigger("appear") } else { if (counter++ > settings.failurelimit) { return false } } }); var temp = $.grep(elements, function(element) { return !element.loaded }); elements = $(temp) }) } return this.each(function() { var self = this; //$(self).attr("original", $(self).attr("src")); if ("scroll" != settings.event || $.belowthefold(self, settings) || $.rightoffold(self, settings)) { if (settings.placeholder) { $(self).attr("src", settings.placeholder) } else { $(self).removeAttr("src") } self.loaded = false } else { $(self).attr("src", $(self).attr("original")) self.loaded = true } $(self).one("appear", function() { if (!this.loaded) { $("<img />").bind("load", function() { $(self).hide().attr("src", $(self).attr("original"))[settings.effect](settings.effectspeed); self.loaded = true }).attr("src", $(self).attr("original")) } }); if ("scroll" != settings.event) { $(self).bind(settings.event, function(event) { if (!self.loaded) { $(self).trigger("appear") } }) } }) }; $.belowthefold = function(element, settings) { if (settings.container === undefined || settings.container === window) { var fold = $(window).height() + $(window).scrollTop() } else { var fold = $(settings.container).offset().top + $(settings.container).height() } return fold <= $(element).offset().top - settings.threshold }; $.rightoffold = function(element, settings) { if (settings.container === undefined || settings.container === window) { var fold = $(window).width() + $(window).scrollLeft() } else { var fold = $(settings.container).offset().left + $(settings.container).width() } return fold <= $(element).offset().left - settings.threshold }; $.extend($.expr[':'], { "below-the-fold": "$.belowthefold(a, {threshold : 0, container: window})", "above-the-fold": "!$.belowthefold(a, {threshold : 0, container: window})", "right-of-fold": "$.rightoffold(a, {threshold : 0, container: window})", "left-of-fold": "!$.rightoffold(a, {threshold : 0, container: window})" }) })(jQuery); </script> <script type="text/javascript"> function checkbrowse() { var ua = navigator.userAgent.toLowerCase(); var is = (ua.match(/\b(chrome|opera|safari|msie|firefox)\b/) || ['', 'mozilla'])[1]; var r = '(?:' + is + '|version)[\\/: ]([\\d.]+)'; var v = (ua.match(new RegExp(r)) || [])[1]; //jQuery.browser.is = is; //jQuery.browser.ver = v; return { 'is': is, 'ver': v } } var public=checkbrowse();var showeffect="";if((public['is']=='msie'&&public['ver']<8.0)){showeffect="show"}else{showeffect="fadeIn"} jQuery(document).ready(function($){ $(".lazys").show().lazyload({ placeholder : "http://d.ifengimg.com/mw_640/y0.ifengimg.com/ifengimcp/pic/20141204/4d6982e929e714889ecf_size43_w720_h436.jpg", effect : showeffect, effectspeed:500, threshold:200 }); }); </script> <script> var statdingurl = 'http://stadig.ifeng.com/actsta.js?datatype=appdownload&uri=http%3A%2F%2Fmall.iclient.ifeng.com%2Factive_Ifengactivity%2F%3Fact_id%3D3%26from%3Dsharenews&time=1464268501&value=newsapp_click'; $(document).ready(function(){ $("#gotobaidu").click(function(){ $("body").append('<img src="'+statdingurl+'" style="display:none;">'); }) }) </script> </body> </html>
责任编辑:好疯传媒