check(window.AppInfoData.appDetail.packageName,(function(e,n){b.setInstallation({yybVersion:e,cpAppVersion:n});var o,t=!1,i=!window.fastClickTrigger;if(window.fastClickTrigger=!1,n)if(P())if(o="update",e){t=!0,i&&window.oneLog((function(){x("mtt_android_yyb_fuclick")}),"act_fastdownload");var r=d.getTmast({yybVersion:e,outerCall:!0});i&&b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.openQQDownloaderForUpdateApp,eventExtInfo:r}),d.callWithScheme(r)}else{i&&window.oneLog((function(){x("mtt_android_noyyb_fuclick")}),"act_fastdownload");var s=d.getAppBaoDownUrl("sourcecheck");i&&b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.downloadQQDownloaderForUpdateApp,eventExtInfo:s}),d.setLocationHref(s)}else{i&&window.oneLog((function(){x(e?"mtt_android_yyb_opclick":"mtt_android_noyyb_opclick")}),"act_fastdownload"),o="open";var l=d.getAppAndroidScheme(!0);i&&b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.openCpApp,eventExtInfo:l}),d.openApp(l,a.packageName)}else if(o="down",e){t=!0,i&&window.oneLog((function(){x("mtt_android_yyb_fdclick")}),"act_fastdownload");var c=d.getTmast({yybVersion:e,outerCall:!0});i&&b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.openQQDownloaderForDownloadApp,eventExtInfo:c}),d.callWithScheme(c)}else{i&&window.oneLog((function(){x("mtt_android_noyyb_fdclick")}),"act_fastdownload");var p=d.getAppBaoDownUrl("sourcecheck");i&&b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.downloadQQDownloaderForDownloadApp,eventExtInfo:p}),d.setLocationHref(p)}window.updateDownBtn(o,t,void 0,e)}))};try{u.check(window.AppInfoData.appDetail.packageName,(function(n,o){b.setInstallation({yybVersion:n,cpAppVersion:o});var t,r=!1;if(window.via="ANDROIDWXZ."+(n?"YYB.":"NEWYYB.")+(s.sceneVia?s.sceneVia:"QQBROWSER"),window.oneLog((function(){x(n?"mtt_android_yyb_pagepv":"mtt_android_noyyb_pagepv")}),"pagepv"),s.isAutoDownAndCloseWin&&n&&!o){var l=d.getTmast({yybVersion:n,outerCall:!0});b.report({eventName:b.autoEventName.openQQDownloaderForDownloadApp,eventExtInfo:l}),d.callWithScheme(l)}if(t=o?P()?"update":"open":"down",n?r=!0:y.init(a,i.hideYYBBanner),window.updateDownBtn(t,r,void 0,n),b.report({eventName:b.keyEventName.mainBtnFinishLoading,eventStartTime:b.pageStartTime,eventEndTime:Date.now()}),$("body").delegate("#btn-fast-download","click",e),"open"==t&&location.hash.indexOf("opened")<0){location.replace(location.href+(location.href.indexOf("#")>-1?"&":"#")+"opened");var c=d.getAppAndroidScheme(!0);b.report({eventName:b.autoEventName.openCpApp,eventExtInfo:c}),d.openApp(c,a.packageName)}}))}catch(e){V()}}function V(){1e4==N("fromcase")&&window.AppInfoData&&window.AppInfoData.appExt&&0==window.AppInfoData.appExt.templateId&&($('<p class="btn-explain" style="line-height:3;font-size: 12px;text-align:center;color: #939393;">该服务由腾讯应用宝提供,通过应用平台进行下载</p>').insertAfter(".wrapper .header .h-sem-btns"),$(".wrapper .header").height("247px"));var e=$("#btn-fast-download"),n="1"==N("ntc");window.updateDownBtn("down"),b.report({eventName:b.keyEventName.mainBtnFinishLoading,eventStartTime:b.pageStartTime,eventEndTime:Date.now()}),window.via="ANDROIDWXZ.YYB."+(s.sceneVia?s.sceneVia:"OTHERBROWSER");var o=function(){window.oneLog((function(){var e="";g.os.android&&(e="other_android_fdclick"),x(e)}),"act_fastdownload")},t=function(){return"$"+d.getTmast({yybVersion:u.getCache().yybVersion,outerCall:!0})+"&clipboard_start_time="+Date.now()+"&clipboard_expiry_time=1800000$"};if(b.reportSampleData({eventName:b.abilityEventName.pageVisibility,eventResult:UI.pageVisibility.isPageVisibilitySupport?0:-1}),s.isAutoDownAndCloseWin&&!n){var r=d.getTmast({yybVersion:u.getCache().yybVersion,outerCall:!0});b.report({eventName:b.autoEventName.openQQDownloaderForDownloadApp,eventExtInfo:r}),d.callWithScheme(r)}UI.pageVisibility.isPageVisibilitySupport?e.unbind("click").bind("click",(function(e){var a;if(!$(e.target).hasClass("btn-unactive")){if(o(),d.copyToClipboard(t()),n){var i=d.getAppBaoDownUrl("sourcecheck");return b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.downloadQQDownloader,eventExtInfo:i}),void d.setLocationHref(i)}window.updateDownBtn("loading"),a=new Date,setTimeout((function(){var e;if(e=new Date,parseInt(e.getTime(),10)-parseInt(a.getTime(),10)<3e3&&!UI.pageVisibility.isHidden()){window.via=window.via.replace(".YYB.",".NEWYYB.");var n=d.getAppBaoDownUrl("sourcecheck"),o=d.getAppAndroidScheme();if(o){var t=Date.now();/chrome\/[\d.]+\s+mobile\s+safari\/[\d.]+$/i.test(navigator.userAgent)?setTimeout((function(){location.href=o}),300):location.href=o,setTimeout((function(){Date.now()-t<1e3&&n&&(location.href=n)}),800)}else n&&(location.href=n)}window.updateDownBtn("down")}),2e3),b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.openAndDownloadQQDownloader}),window.via=window.via.replace(".NEWYYB.",".YYB.");var r=d.getTmast({outerCall:!0});d.tryCallYybInBrowser(r,(function(){}),(function(){window.via=window.via.replace(".YYB.",".NEWYYB.");var e=d.getAppBaoDownUrl("sourcecheck");location.href=e}))}})):e.unbind("click").bind("click",(function(){if(o(),S(t(),(function(e,n,o){b.reportSampleData({eventName:b.clientApiEventName.copyToClipboard,eventResult:n,eventExtInfo:o||e},.01)})),n){var e=d.getAppBaoDownUrl("sourcecheck");return b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.downloadQQDownloader,eventExtInfo:e}),void d.setLocationHref(e)}b.report({eventName:b.clickBtnEventName.mainBtn,eventResult:b.clickActionEventResult.openAndDownloadQQDownloader}),window.via=window.via.replace(".NEWYYB.",".YYB.");var a=d.getTmast({outerCall:!0});d.tryCallYybInBrowser(a,(function(){}),(function(){window.via=window.via.replace(".YYB.",".NEWYYB.");var e=d.getAppBaoDownUrl("sourcecheck");location.href=e}))})),y.init(a,i.hideYYBBanner)}function U(e,n,o){if(b.reportKeyDownloadEvent(b.downloadEvent.eventScene.qqdownloader,o&&o.actionChain||0,e,n),g.browser.wechat)switch(e){case JsBridge.

Prev | Next
Pg.: 1 ... 23 24 25 26 27 28 29 30 31 32 33 ... 41


Back to home | File page

Subscribe | Register | Login | N