Edit C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache\IE\UQFLINFP\adTemps[1].js
(function (w) { var PROJECT_TYPE = "weather"; /* ============================= ad 360 temps================================= */ function Ad360() { } Ad360.prototype = { /** * ????????360?????? -- ?????????????? * ????????"ad360_" + type type->360??????(?????)?????d360_1~4?? * @param data * data:{ * curl:"", * clktk:"", * title:"", * img:"" * } * @returns {string} */ ad360_1: function (data) { return '<div class="news_item ad_item aa"><a href="' + data.curl + '" class="img_click_gg single_item" position-tag="messageFlow" position-ad="advertisement_ad360" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'"><div><img src="' + data.img + '" alt=""></div><h3 title="' + data.title + '">' + data.title + '</h3><p>???</p></a></div>'; }, /** * ????????360?????? -- ???+??? * @returns {string} */ ad360_2: function (data) { var more_imgs = ''; $.each(data.assets, function (i, value) { // more_imgs += '<a class="img_click_gg innerImg" position-tag="messageFlow" position-ad="advertisement_ad360" href="' + data.curl + '" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" style="height:70px;display:inline-block;"><img src="' + value.img + '" alt=""></a>' more_imgs += '<a class="img_click_gg innerImg" position-tag="messageFlow" position-ad="advertisement_ad360" href="' + value.curl + '" data-clktk="' + data.clktk + '" data-oldcurl="' + value.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" style="height:100px;" data-info="'+((value.img||"")+","+(data.title||""))+'"><img src="' + value.img + '" alt=""></a>' }); return '<div class="mid_ad_item news_item ad_item aa ad360_more_img"><a href="' + data.curl + '" class="img_click_gg mid_news_item" position-tag="messageFlow" position-ad="advertisement_ad360" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" " data-info="'+((data.img||"")+","+(data.title||""))+'"><h3>' + data.title.substring(0, 23) + '</h3></a><div class="img_con">' + more_imgs + '</div><p><span class="news_type">???</span><em>?</em><span class="author">' + data.src + '</span></p></div>'; }, /** * ????????360?????? -- ???+??? * @returns {string} */ ad360_3: function (data) { return '<div class="news_item ad_item aa"><a href="' + data.curl + '" class="img_click_gg ad_big_item" position-tag="messageFlow" position-ad="advertisement_ad360" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'"><h3>' + data.title.substring(0, 23) + '<span class="news_big">???</span></h3><div><img src="' + data.img + '" alt=""></div></a></div>'; }, /** * ????????360?????? -- ???+??? * @returns {string} */ ad360_4: function (data) { var domvideo = (Common.getIeVersion() !== 'IE8') && (Common.getIeVersion() !== 'IE9') ? '<video src="' + data.video + '" autoplay muted>' : '<img src="' + data.img + '"/>'; return '<div class="news_item ad_item aa">' + '<a href="' + data.curl + '" class="img_click_gg ad_big_item" position-tag="messageFlow" position-ad="advertisement_ad360" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'">' + '<h3>' + data.title.substring(0, 23) + '<span class="news_big">???</span></h3>' + '<div>' + domvideo + '</div>' + '</a>' + '</div>'; }, /** * 360ad ??1 ??? * @param data * @param ad_pos */ ad360_right_1: function (data, ad_pos) { return '<div class="right360ad xxl_ad"><a href="' + data.curl + '" class="img_click_gg" position-tag="' + ad_pos.position_tag + '" position-ad="' + ad_pos.position_ad + '" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'"><div><img src="' + data.img + '" alt=""></div><h3 title="' + data.title + '">' + data.title + '</h3><div class="rightBack"></div><span>???</span></a></div>'; }, /** * 360ad ??2 ??? * @param data * @param ad_pos */ ad360_right_2: function (data, ad_pos) { return this.ad360_right_1(data, ad_pos); }, /** * 360ad ??3 ??? * @param data * @param ad_pos * @param muc ???????????? * @param position_ad position-ad */ ad360_right_3: function (data, ad_pos,muc,position_ad) { if (PROJECT_TYPE === "weather"){ return this.ad360_right_1(data, ad_pos); }else{ return '<a class="'+(muc||ad_pos.muc)+'" position-tag="'+ad_pos.position_tag+'" position-ad="'+(position_ad||ad_pos.position_ad)+'" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" href="' +data.curl + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'"><div><img src="' + data.img + '" alt=""></div><p>' + data.title + '</p><div class="rightBack"></div><span class="adv_source">???</span></a>'; } }, /** * ?????? * @param data */ ad360_skin:function (data, ad_pos) { // console.log(data); return '<a class="ad_skin '+(ad_pos.muc)+'" position-tag="'+ad_pos.position_tag+'" position-ad="'+(ad_pos.position_ad)+'" data-clktk="' + data.clktk + '" data-oldcurl="' + data.curl + '" data-oldclktk="' + data.clktk + '" href="' +data.curl + '" target="_blank" data-info="'+((data.img||"")+","+(data.title||""))+'"><div class="cover floatLeft"><img src="'+(data.img||"")+'" alt=""><span class="adv_source">???</span></div></a>'; } }; var tmp360 = new Ad360(); /* ============================= ad ssp and dsp temps================================= */ function SspAndDsp() { } SspAndDsp.prototype = { miniLeft1: function (value, ad_pos, data) { return '<a href="' + value.aUrl + (value.hasMiniReader ? w.adTmps.mini_readerExp(value.aUrl) : "") + '" class="' + value.adType + ad_pos.muc + ' ad_big_item" target="_blank" data-pos="' + ad_pos.cname + '"><h3>' + value.title.substring(0, 23) + '<span class="news_big">???</span></h3>' + '<div class="sspImg"><img src="' + value.main_img + '" alt=""></div>' + '</a>' }, miniLeft1_a: function (value, ad_pos, data) { return '<div class="news_item ad_item ' + value.adType + '">' + this.miniLeft1(value, ad_pos, data) + '</div>'; }, miniLeft2: function (value, ad_pos, data) { return this.miniLeft1(value, ad_pos, data); }, miniLeft2_a: function (value, ad_pos, data) { return this.miniLeft1_a(value, ad_pos, data); }, miniRight1: function (value, ad_pos) { // ??????1 ??? if (PROJECT_TYPE === "weather") return '<div class="right360ad xxl_ad ad_' + value.adType + '"><a href="' + value.aUrl + (value.hasMiniReader ? w.adTmps.mini_readerExp(value.aUrl) : "") + '" class="' + value.adType + ad_pos.muc + '" target="_blank" data-pos="' + ad_pos.cname + '"><div><img src="' + value.main_img + '" alt=""></div><h3 title="' + value.title + '">' + value.title + '</h3><div class="rightBack"></div><span>???</span></a></div>'; // ????????1 ??? if (PROJECT_TYPE !== "weather") return '<a class="' + value.adType + ad_pos.muc + '" href="' + value.aUrl + (value.hasMiniReader ? w.adTmps.mini_readerExp(value.aUrl) : "") + '" target="_blank" data-pos="' + ad_pos.cname + '"><div><img src="' + value.main_img + '" alt=""></div><span class="ad_source">???</span></a>'; }, miniRight2: function (value, ad_pos) { return this.miniRight1(value, ad_pos); }, miniRight3: function (value, ad_pos) { if (PROJECT_TYPE !== "weather"){ $('.today_news .slide1').remove(); $('.today_news .slide2').remove(); $(".arrow").remove(); } return this.miniRight1(value, ad_pos); } }; var dsTem = new SspAndDsp(); /* ============================= ad temps================================= */ function AdTemps() { } AdTemps.prototype = { /** * ????????????????? * @param value ????????? * @param ad_pos miniLeft1 | miniLeft2 | miniRight1 | miniRight2 | miniRight3 * @param data ?????????(????) * @param isAll ??????????? * @returns {string} */ getSspDsp: function (value, ad_pos, data, isAll) { isAll = isAll || false; var base = ""; isAll && (base = "_a"); return dsTem[ad_pos.cname + base](value, ad_pos, data); }, /** * ????????????????? * @param value ????????? // * @param ad_pos miniLeft1 | miniLeft2 | miniRight1 | miniRight2 | miniRight3 * @param ad_pos right1 | right2 | right3 * @param isAll ??????????? * @returns {string} */ get360: function (value, ad_pos, isAll) { isAll = isAll || false; var base = ""; isAll && (base = "_a"); return tmp360['ad360_' + value.type + base](value,ad_pos); }, /** * mini????? * @param url * @returns {string} */ mini_readerExp: function (url) { return url.indexOf("?") > -1 ? "&adtype=zhike" : '?adtype=zhike"'; } }; w.adTmps = new AdTemps(); })(window);
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de