Edit C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache\IE\4VXXCE19\index.0613[1].js
//ajax/json cors??????? $.support.cors = true; if (typeof console == 'undefined') {window.console = {log: function () {}}} // 360??????????? var Macro = {start: "__EVENT_TIME_START__", end: "__EVENT_TIME_END__", x: "__OFFSET_X__", y: "__OFFSET_Y__"}; //??? (function () { var common = { getUserId: function () { return (+new Date()) + Math.random().toString(10).substring(2, 6); }, getIeVersion:function () { if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.match(/7./i)=="7.") { return "IE 7.0"; } else if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.match(/8./i)=="8.") { return "IE 8.0"; } else if(navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.match(/9./i)=="9.") { return "IE 9.0" ; } else if(navigator.appName == "Microsoft Internet Explorer") { return "IE 6.0"; }else{ return "!IE" } }, newDate:function(str){ var day = str.split(' '); var days = day[0].split('-'); var mi = day[day.length - 1].split(':'); var date = new Date(); date.setUTCFullYear(days[0], days[1] - 1, days[2]); date.setUTCHours(mi[0] - 8, mi[1], mi[2]); return date; }, GetQueryString: function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null){ return unescape(r[2]) }else{ return null; } }, GetQueryString2: function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r){ return unescape(r[2]) }else{ return null; } } }; window.Common = common; })(); configuration(); //????????? var proConfig; function configuration() { // ?????? var proObject = { name: 'kuaiya', mini_name: '005', qid: {rewen:'k002',toutiao:'01747',shehui:'01747',yule:'01747',shipin:'k002',tiyu:'k002',qiche:'k002',junshi:'k002',yangsheng:'03062',youxi:'01747',guoji:'01747',shishang:'01747',lishi:'01747',keji:'01747',caijing:'01747',xiaohua:'01747'}, left_tab:{youxi:'???',yangsheng:'???',junshi:'???',qiche:'???',tiyu:'???',shipin:'???',yule:'???',shehui:'???',toutiao:'???'}, left_tab_more:{guoji:'???',shishang:'???',lishi:'???',keji:'???',caijing:'???',xiaohua:'???'}, loadUrl:{onlineUrl1:'//news.toutiaobashi.com/api/tpop/list_new/k002/1/',onlineUrl2:'//news.toutiaobashi.com/api/tpop/list_new/k002/1/',hotUrl:'//api.novels.hoteastday.com/api/minipage/list?qid=s00008',recommendUrl:'//news.toutiaobashi.com/api/tpop/list_new/k002/1/34/6'}, qid_index: {rewen:1,toutiao:1,shehui:1,yule:1,shipin:1,tiyu:1,qiche:1,junshi:1,yangsheng:1,youxi:1,guoji:1,shishang:1,lishi:1,keji:1,caijing:1,xiaohua:1}, typeKey: {rewen:33,toutiao:34,shehui:14,yule:16,shipin:24,tiyu:17,qiche:28,junshi:20,yangsheng:39,youxi:29,guoji:12,shishang:25,lishi:46,keji:19,caijing:18,xiaohua:13}, typeKeyRow: {rewen:'',toutiao:'',shehui:'',yule:'',shipin:'',tiyu:'',qiche:'',junshi:'',yangsheng:'',youxi:'',guoji:'',shishang:'',lishi:'',keji:'',caijing:'',xiaohua:''}, message_flow_showId: 'TFguRu', hot_showId: 'Vk77OT', top_right_showId: 'coEF2p', // message_flow_showId: '0GcxwV', // hot_showId: 'lqsYyv', // top_right_showId: 'lqsYyv', refresh_baidu_smua: 'd=p&s=b&u=u3425374&w=495&h=130', big_baidu_smua: 'd=p&s=b&u=u3441662&w=500&h=130', //????????? normal_baidu_smua: 'd=p&s=b&u=u4139357&w=500&h=95', //??????????? right_top_baidu_smua_1: 'd=p&s=b&u=u3809622&w=240&h=128', //???1?????? right_top_baidu_smua_2: 'd=p&s=b&u=u3809622&w=240&h=128', //???2 ?????? hot_baidu_smua_1: 'd=p&s=b&u=u3952390&w=220&h=58', //?????????1 hot_baidu_smua_2: 'd=p&s=b&u=u3952390&w=220&h=58' //?????????2 }; proConfig = proObject; }; var user_uid = Common.getUserId(); var timer0510; $('.left_nav .nav_item').hover(function () { if ($(this).hasClass('hover')) { $(this).find('.more_nav').show() } var x = 0; var that = this; timer0510 = setInterval(function () { x++; if (x > 3) { clearInterval(timer0510) $('.left_nav .nav_item').removeClass('active'); $(that).addClass('active'); $('.left_nav .nav_item_part').removeClass('active'); var type = $(that).attr('date-type'); if (type == 'xiaoshuo') { $(".mask").show(); Mini['showChoice']($(that), window.event); }else{ $(".mask").hide(); var method = $(that).attr('method'); var first_view = $('.left_nav li:eq(0)').attr('method'); if (type != 'toutiao' && !first_view) { $('.left_nav li:eq(0)').attr('method', 'change_view'); } Mini[method] ? Mini[method]($(that), event) : ''; } } }, 100) }, function () { if ($(this).hasClass('hover')) { $(this).find('.more_nav').hide() } clearInterval(timer0510) }); $('body').on('mouseout', '.left_nav .nav_item:not(:last)', function () { window.currentIndex = $('.left_nav .active').index(); }); $('body').on('click', '.more_nav .nav_item_part', function () { var type = $(this).attr('date-type'); for (var i = 0; i < Mini.typeArray.length; i++) { if (type == Mini.typeArray[i]) { var flag = false; break; } else { var flag = true; } } Mini.typeArray.push(type); }); // ?????? ?????? $('body').on('mouseover', '.left_nav .nav_item_part', function () { $('.left_nav .nav_item_part').removeClass('active'); $('.left_nav .nav_item:not(:last)').removeClass('active'); $(this).addClass('active'); $('.left_nav .nav_item:last').addClass('active'); }); /** * All??? ??? key=value */ // ?????????????? ??ey1=???&key2=bbb?? function getParams(temp, name) { var theRequest = new Object(); var strs = temp.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]); } // ??? ???????????ey ?? value?? var result = theRequest[name] || null; return result; } //????????? function loadPjs(url, id, pid, op) { var scriptAd = document.createElement("script"); scriptAd.type = "text/javascript"; scriptAd.src = url; scriptAd.setAttribute('smua', op); if ($('#' + pid).length > 0) { $('#' + pid)[0].appendChild(scriptAd); } scriptAd.id = id; } function getUrlParamVal(name) { // ?????? URL????? var r = decodeURI(window.location.search); var arr1 = r.split("?"); arr1.shift(); var params = arr1.join("&"); var res = getParams(params, name); return res; } $('body').on('mouseover', '.xxl_ad,iframe', function () { return false }); function miniPage() { var obj = this; this.pgnum_bot = 1; this.startkey = ''; this.newkey = ''; this.uid = user_uid; this.vqid = getUrlParamVal('vqid') || ''; this.vv = getUrlParamVal('vv') || ''; this.vuid = getUrlParamVal('vuid') || ''; this.bool = true; this.type = 'toutiao'; this.position = ""; this.logo = ''; this.l; this.adsid = 1; this.l1 = 0; this.l2 = 7; this.refresh_dev; this.refresh_tab; this.refresh_scroll; this.typeArray = []; this.bottomOutTime = 1; this.imptk360 = []; this.ad360data = []; this.ad360index = 0; this.pos_pro = ''; this.pos_city = ''; if (typeof miniPage.instance === 'object') { return miniPage.instance; } this.instance = this; this.zhike_bool_0410 = true; this.pathname = window.location.pathname.slice(1, -1); } miniPage.prototype = { // ???????? bindEvent: function () { var obj = this; obj.typeArray.push(obj.type); $.ajax({ url:proConfig.loadUrl.recommendUrl, type: 'get', dataType: 'json', success: function (response) { var data = response.data.list; var orderIndex = 1; //???????????? $.each(data, function (index, val) { val.indexOrder = orderIndex; orderIndex++; obj.render('.scroll_con', val, "append", 'show', true, false, 'pdata'); }); for(var i =0;i<5;i++){ $('.scroll_con .list_item:eq("'+i*2+'")').attr("id",'container_'+i*2); $('.scroll_con .list_item:eq("'+i*2+'")').css({'height':'auto'}); NEWS_FEED({w: 500, placeholderId: "container_"+i*2, showid: proConfig.message_flow_showId, inject: 'cads', pureAdNum:5, useCapture: true,onFail:function () { console.log("111") // obj.renderBaidu('#container_'+i*2); }}); } }, }); //?????? NEWS_FEED({w: 240, placeholderId: "top_right_1", showid: proConfig.top_right_showId, inject: 'cads', noCSS: true,pureAdNum: 4, useCapture: true,onFail:function () { obj.renderTopRightBaiduO('#top_right_1') }}); NEWS_FEED({w: 240, placeholderId: "top_right_2", showid: proConfig.top_right_showId, inject: 'cads', noCSS: true,pureAdNum: 4, useCapture: true,onFail:function () { obj.renderTopRightBaiduT('#top_right_1') }}); //?????? NEWS_FEED({w: 220, placeholderId: "right_2", showid: proConfig.hot_showId, inject: 'cads', noCSS: true,pureAdNum: 4, useCapture: true,onFail:function () { obj.renderHotBaidu1('#right_2') }}); NEWS_FEED({w: 220, placeholderId: "right_4", showid: proConfig.hot_showId, inject: 'cads', noCSS: true, pureAdNum: 4, useCapture: true,onFail:function () { obj.renderHotBaidu2('#right_4') }}); $('body').on('click', '.click_event', function (event) { var method = $(this).attr('method'); obj[method] ? obj[method]($(this), event) : ''; }); $('.content').on('scroll', function (event) { var SCROLL_TOP = $(this).scrollTop(); var CLIENT_HEIGHT = 585; var TOTAL_HEIGHT = $('.scroll_con').height() - $('.scroll_con .list_item:last').height(); if (SCROLL_TOP + CLIENT_HEIGHT >= TOTAL_HEIGHT && obj.bool && TOTAL_HEIGHT != 0) { obj.imptk360 = []; obj.bool = false; obj.pgnum_bot++; obj.bottomOutTime++; var params = { type: obj.type, startkey: obj.startkey, newkey: obj.newkey, pgnum: obj.pgnum_bot, uid: user_uid, qid: '01747', pos_pro: encodeURIComponent(obj.pos_pro), pos_city: encodeURIComponent(obj.pos_city), position: encodeURIComponent(obj.position), domain: 'news.7654.com' }; obj.refresh_scroll = true; obj.fetchData(params); } }); }, // ?????????????? fetchData: function (params, btn) { var loading_dom = '<div class="loading_ajax"><div></div><div></div><div></div><span>?????????</span></div>'; $('.content').prepend(loading_dom); var obj = this; var onlineUrl1 = proConfig.loadUrl.onlineUrl1; var onlineUrl2 = proConfig.loadUrl.onlineUrl2; if (obj.refresh_dev) { onlineUrl = onlineUrl1 +proConfig.typeKey[params.type] + '/10/'+ proConfig.typeKeyRow[params.type] } if (obj.refresh_scroll || obj.refresh_tab) { onlineUrl = onlineUrl1 +proConfig.typeKey[params.type] + '/10/'+ proConfig.typeKeyRow[params.type] } $.ajax({ url: onlineUrl, type: 'get', dataType: 'json', cache:false, error: function () { fetchData(null); }, success: function (res) { if (res.status == 1) { proConfig.typeKeyRow[params.type]= res.data.last_row; res.data = res.data.list; //tab??? if (obj.refresh_tab) { obj.refresh_tab = false obj.l1 = 6; obj.l2 = 7; var oType = btn.attr('date-type'); var orderIndex = 10; $.each(res.data, function (index, val) { val.indexOrder = orderIndex; orderIndex--; obj.render('.scroll_con.' + oType, val, "prepend", "no_show", false, true); }); for(var i =0;i<5;i++){ $('.scroll_con .list_item:eq("'+i*2+'")').attr("id",'container_'+i*2); $('.scroll_con .list_item:eq("'+i*2+'")').css({'height':'auto'}); NEWS_FEED({w: 500, placeholderId: "container_"+i*2, showid: proConfig.message_flow_showId, inject: 'cads', pureAdNum: 5, useCapture: true,onFail:function () { obj.renderBaidu('#container_'+i*2); }}); } $('.content').css({'scrollTop': '0'}); } // ?????? if (obj.refresh_scroll) { obj.refresh_scroll = false var list_len = $('.scroll_con .list_item').length; $.each(res.data, function (index, val) { val.indexOrder = proConfig.qid_index[obj.type] + 10; proConfig.qid_index[obj.type]++; obj.render('.scroll_con', val, "append", "no_show", true, false, 'pdata'); }); for(var i =0;i<5;i++){ $('.scroll_con .list_item:eq("'+(list_len + i*2)+'")').attr("id",'container_'+(list_len + i*2)); $('.scroll_con .list_item:eq("'+(list_len + i*2)+'")').css({'height':'auto'}); NEWS_FEED({w: 500, placeholderId: "container_"+(list_len +i*2), showid: proConfig.message_flow_showId, inject: 'cads', pureAdNum:5, useCapture: true,onFail:function () { console.log("???") obj.renderBaidu('#container_' + (list_len +i*2)); }}); } obj.bool = true; } } else { alert('Sorry, ' + res.info); } $('.loading_ajax').remove(); } }); }, showChoice:function () { $("#maskIframe").attr("src","./choice.html?qid=s00007"); }, // ?????? render: function (target_dom, content, render_way, show_type, flag1, flag2, updata) { var obj = this; if (flag1) { obj.l1++; if (obj.l1 > 100) { obj.l1 = 101; } obj.l = obj.l1; } if (flag2) { obj.l2--; obj.l = obj.l2; } var myQId = proConfig.qid[obj.type]; var dom = '', author_info = '', type_dom = '', important_href = '' , point_dom = ''; if ( content.url.indexOf('www.lieqinews.com') > -1) { important_href = ''; } if (obj.type == "toutiao" || obj.type == "redian") { point_dom = '<em>?</em>'; } obj.logo = obj.type; if (obj.type == 'redian') { obj.logo = 'toutiao2' } if (content.dfh_nickname) { author_info = point_dom + '<span class="author">' + content.dfh_nickname + '</span>'; } else { author_info = ''; } type_dom = '<span class="news_type">' + content.source + '</span>'; if (obj.vuid) { important_href += "&vuid=" + obj.vuid; } if (obj.vv) { important_href += "&vv=" + obj.vv; } if (obj.vqid) { important_href += "&vqid=" + obj.vqid; } //???????mportant_href var commonObj = $.extend(proConfig.left_tab,proConfig.left_tab_more); important_href += "&_"+content.indexOrder+"_"+commonObj[obj.type]+"1"; var url = content.url.split('?qid')[0]; var pda = updata === 'updata'?'updata':'pdata'; if (content.content_img_num == 3 || content.content_img_num == 4) { var more_imgs = ''; var should_reduce_h = ''; if (content.content_img_list.length == 4) { $.each(content.content_img_list, function (index, val) { if(val.indexOf('://') > -1){ val = '//' + val.split('://')[1]; } more_imgs += '<a href="' + content.url + important_href + '" ' + pda + '="' + url + '|0|' + obj.logo + '|' + obj.l + '|pic" target="_blank"><img src="' + val + '" alt=""></a>'; }); } else { $.each(content.content_img_list, function (index, val) { if(val.indexOf('://') > -1){ val = '//' + val.split('://')[1]; } more_imgs += '<a href="' + content.url + important_href + '" ' + pda + '="' + url + '|0|' + obj.logo + '|' + obj.l + '|pic" target="_blank"><img src="' + val + '" alt=""></a>'; }); more_imgs += '<a href="' + content.url + important_href + '" target="_blank"><span>??????>></span></a>' } dom = '<div class="mid_news_item list_item ' + should_reduce_h + '">' + '<a href="' + content.url + important_href + '" ' + pda + '="' + url + '|0|' + obj.logo + '|' + obj.l + '|pic" target="_blank">' + '<h3 title="' + content.title + '">' + content.title + '</h3>' + '<p>' + type_dom + author_info + '</em></p>' + '</a>' + '<div class="img_con">' + more_imgs + '</div>' + '</div>'; } else { if(content.content_img_list[0] && content.content_img_list[0].indexOf('://') > -1){ content.content_img_list[0] = '//' + content.content_img_list[0].split('://')[1]; } dom = '<div class="news_item list_item">' + '<a href="' + content.url + important_href + '" ' + pda + '="' + url + '|0|' + obj.logo + '|' + obj.l + '|pic" target="_blank">' + '<div><img src="' + content.content_img_list[0] + '" alt=""></div>' + '<h3 title="' + content.title + '">' + content.title + '</h3>' + '<p>' + content.source + '</p>'+ '</a>' + '</div>'; }; if (render_way == 'prepend') { $(target_dom).prepend(dom); } else { $(target_dom).append(dom); } // pdata.init(); }, // ?????? renderBigBaidu: function (target_dom) { $(target_dom).before('<div class="xxl_ad list_item iambaiduad bigbaiduad" id="bigbaidu"></div>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-bigbaidu', 'bigbaidu', proConfig.big_baidu_smua); }, // ??????????? renderBaidu: function (target_dom) { var obj = this; obj.adsid++; $(target_dom).before('<div class="xxl_ad list_item iambaiduad baiduad" id="flowbaidu_' + obj.adsid + '"></div>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-flowbaidu', 'flowbaidu_' + obj.adsid, proConfig.normal_baidu_smua); }, // ??????????? renderTopRightBaiduO: function (target_dom) { $(target_dom).eq(0).append('<div class="xxl_ad list_item iambaiduad" id="toprighto"></div>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-toprighto', 'toprighto', proConfig.right_top_baidu_smua_1); }, // ??????????? renderTopRightBaiduT: function (target_dom) { $(target_dom).eq(1).append('<div class="xxl_ad list_item iambaiduad" id="toprightt"></div>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-toprightt', 'toprightt', proConfig.right_top_baidu_smua_2); }, // ??????24??????_1 renderHotBaidu1: function (target_dom) { if(proConfig.hot_baidu_smua_1){ $(target_dom).after('<li class="right_pannel_xxl_ad" id="hotad"></li>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-hotad', 'hotad', proConfig.hot_baidu_smua_1); } }, // ??????24??????_2 renderHotBaidu2: function (target_dom) { if(proConfig.hot_baidu_smua_2){ $(target_dom).after('<li class="right_pannel_xxl_ad" id="hotad2"></li>'); loadPjs('//www.nkscdn.com/smu0/o.js', 'b-hotad', 'hotad2', proConfig.hot_baidu_smua_2); } }, //360?????? renderBig360: function (target_dom, adData,position) { this.ad360index++; var dom = '<div class="news_item list_item iam360ad xxl_ad big360">' + '<a href="' + adData.curl + '" class="img_click_gg" position-tag="messageFlow_'+position+'" data-clktk="' + adData.clktk + '" data-oldcurl="' + adData.curl + '" data-oldclktk="' + adData.clktk + '" target="_blank" updata="' + this.pathname + '|' + this.type + '|xxl360gg|' + this.ad360index + '">' + '<h3 title="' + adData.title + '">' + adData.title + '<span class="news_big">???</span></h3>' + '<div><img src="' + adData.img + '" alt=""></div>' + '</a>' + '</div>'; $(target_dom).before(dom); }, // 360???????? render360: function (target_dom, adData,position) { this.ad360index++; if (adData.type == 2) { var more_imgs = ''; $.each(adData.assets, function (i, v) { more_imgs += '<div class="more_img"><a class="img_click_gg innerImg" href="' + v.curl + '" data-clktk="' + adData.clktk + '" data-oldcurl="' + v.curl + '" data-oldclktk="' + adData.clktk + '" target="_blank" style="height:70px;display:inline-block;"><img src="' + v.img + '" alt=""></a></div>' }) var dom = '<div class="news_item list_item iam360ad xxl_ad ima360ad_more">' + '<a href="' + adData.curl + '" class="img_click_gg" position-tag="messageFlow_'+position+'" data-clktk="' + adData.clktk + '" data-oldcurl="' + adData.curl + '" data-oldclktk="' + adData.clktk + '" target="_blank" updata="' + this.pathname + '|' + this.type + '|xxl360gg|' + this.ad360index + '">' + '<h3 title="' + adData.title + '">' + adData.title + '</h3>' + '</a>' + '<div class="img_con">' + more_imgs + '</div>' + '<p><span class="news_type">???</span><em>?</em><span class="author">' + adData.src + '</span></p>' + '</div>'; } else { var dom = '<div class="news_item list_item iam360ad xxl_ad">' + '<a href="' + adData.curl + '" class="img_click_gg" position-tag="messageFlow_'+position+'" data-clktk="' + adData.clktk + '" data-oldcurl="' + adData.curl + '" data-oldclktk="' + adData.clktk + '" target="_blank" updata="' + this.pathname + '|' + this.type + '|xxl360gg|' + this.ad360index + '">' + '<div><img src="' + adData.img + '" alt=""></div>' + '<h3 title="' + adData.title + '">' + adData.title + '</h3>' + '<p>???</p>' + '</a>' + '</div>'; } $(target_dom).before(dom); }, // tab??? change_view: function (btn) { this.ad360data = []; this.ad360index = 0; this.bottomOutTime = 1; window.first_item_360bool_3 = true; window.first_item_360bool_4 = true; window.first_item_360bool_5 = true; window.first_item_360bool_6 = true; if (btn.hasClass('nav_item')) { if (btn.index() == window.currentIndex) { return } } else { if (btn.attr('click_time') == 1) { $('.more_nav .nav_item_part').attr('click_time', ''); return } } $('.content').scrollTop(0); this.startkey = ''; this.newkey = ''; var obj = this; this.bool = true; this.pgnum_bot = 1; this.pgnum_top = 1; var oType = btn.attr('date-type'); if (oType === 'lieqi') { $('#refresh').hide(); } else { $('#refresh').show(); } this.type = oType; this.bottomOutTime = 1; proConfig.qid_index[oType]= 1; var params = { type: oType, startkey: obj.startkey, newkey: obj.newkey, pgnum: obj.pgnum_bot, uid: user_uid, qid: '01747' }; $('.scroll_con').html("").attr('class', 'scroll_con ' + oType); obj.refresh_tab = true; obj.fetchData(params, btn); } }; var Mini = new miniPage(); Mini.bindEvent(); // ??????init $.ajax({ url: proConfig.loadUrl.hotUrl, type: 'get', dataType: 'json', success: function (res) { var today_news_data=res.data; var arr_index = []; $.each(today_news_data, function (index, val) { arr_index.push(val); }); var arr = arr_index; $('#right_1').append('<a href="' + arr[0].url + '&_1_???1" target="_blank" ><div><img src="' + arr[0].pic + '" alt=""></div><p title="' + arr[0].title + '">' + arr[0].title + '</p></a>'); $('#right_3').append('<a href="' + arr[1].url + '&_3_???1" target="_blank" ><div><img src="' + arr[1].pic + '" alt=""></div><p title="' + arr[1].title + '">' + arr[1].title + '</p></a>'); } }); $(document).ready(function () { if (typeof (external.WebFinished) != 'undefined') { external.WebFinished(); } }); function showPop(showTime,showUrl,showKey,blockArea) { var nowTime = new Date().getTime(); if (nowTime > Common.newDate(showTime[0]).getTime() && nowTime < Common.newDate(showTime[1]).getTime()) { $.ajax({ url: '//iplocation.7654.com/v1', type: 'get', dataType: 'json', success: function (data) { var canPop = true; for(var i=0;i < blockArea.length;i++){ if(data.city.indexOf(blockArea[i]) >-1){ canPop = false; break; } } if (canPop) { if(!$.cookie(showKey)){ $.cookie(showKey, showKey, {expires: 30, path: '/'}); // upload1("no"); window.open(showUrl); }else{ // upload1("yes"); } } } }); } } showPop(["2019-06-15 23:59:59", "2019-06-16 00:30:00"],"https://s.click.taobao.com/anHh08w","showDouble_013_2",["???"]); showPop(["2019-06-18 00:00:00", "2019-06-18 21:59:59"],"https://s.click.taobao.com/anHh08w","showDouble_013_4",["???"]); showPop(["2019-06-18 22:00:00", "2019-06-18 23:59:59"],"https://s.click.taobao.com/anHh08w","showDouble_013_5",["???"]); // SSP ???- End function upload(e) { // $.getJSON("//ad.kuaizip.com/advertise/userclick", { // time: new Date().getTime(), // localUrl: $.base64.encode("kZip.com" + location.pathname), // project: $.base64.encode("mininews_ys001"), // position: $.base64.encode(e.getAttribute("position-tag")), // qid:$.base64.encode(Common.GetQueryString('qid')), // env:$.base64.encode(Common.GetQueryString('env')), // uid:$.base64.encode(Common.GetQueryString('uid') || "none") // }).done(function(data) {}); } function upload2(e) { $.getJSON("//360adreport.news.7654.com/advertise/ssp", { timestamp: new Date().getTime(), project: e.project,//?????? location.pathname action: e.action,//????????? 'show' p1:e.p1,// position:{ messageFlow/topRight/hotNews} p2:e.p2,// showId:?????? showId p3:e.p3,// ???????????? data.ads ???????? success ?????? error p4:"mini" // ???????????? "" }).done(function(data) {}); } $(document).ready(function () { console.log('?????????!'); if (typeof (external.WebFinished) != 'undefined') { external.WebFinished(); } });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de