1require(['aes'], function () { 2 try { 3 if (location.href.indexOf('gienor.com') == -1) { 4 new SliderVirify({ 5 title: sliderVirifyTitle, 6 tryagain: sliderVirifyTryagain 7 }); 8 } 9 } catch (error) { 10 console.log(error); 11 } 12 13 //彿¯ä»æåæ¶ï¼è·³è½¬æ¨èååï¼åè¿å ¥è¯¦æ æ¶ï¼è¿åæ¶è¿åå°æ¨è页é¢ã 14 let goodsId = $.cookie('_goodsId'); 15 let urlText = window.location; 16 if (urlText.pathname.indexOf('detail') > 0 && urlText.href.indexOf('ignore_doamin=true') > 0) { 17 setTimeout(() => { 18 var href = `/index/saleRecommend?sno=${Base64.encode(goodsId)}`; 19 if ($('.sgk-carousel, .video-carousel').find('.back-home').length > 0) { 20 $('.sgk-carousel, .video-carousel') 21 .find('.back-home') 22 .attr('href', 'javascript:;'); 23 } else { 24 $('.sgk-carousel, .video-carousel').prepend( 25 `<a href="javascript:;" class="back-home text-center"><i class="iconfont iconNEW_04-jiantou"></i></a>` 26 ); 27 } 28 var notFromRecommendPage = store.get('not_form_recommmend_page');//æå页\å¤±è´¥é¡µçæ¨èååçï¼åè¿åä¸ä¸é¡µé¢ 29 store.remove('not_form_recommmend_page'); 30 $('body').on('click', '.sgk-carousel .back-home, .video-carousel .back-home', function () { 31 if (notFromRecommendPage) { 32 history.back(); 33 } else { 34 window.location.href = href; 35 } 36 }); 37 }, 3000); 38 } 39 40 $(function () { 41 let hiddenProperty = 42 'hidden' in document 43 ? 'hidden' 44 : 'webkitHidden' in document 45 ? 'webkitHidden' 46 : 'mozHidden' in document 47 ? 'mozHidden' 48 : null; 49 50 let visibilityChangeEvent = hiddenProperty.replace(/hidden/i, 'visibilitychange'); 51 let onVisibilityChange = function () { 52 if ( 53 !document[hiddenProperty] && 54 (($('#buyNow').hasClass('btn-disabled') || $('#buyNow').find('.loader-box').length > 0) || 55 $('.buynow-btn, .addcart-bar-buynow').hasClass('loading')) 56 ) { 57 location.reload(); 58 } else { 59 console.log('页é¢éæ¿æ´»'); 60 } 61 }; 62 document.addEventListener(visibilityChangeEvent, onVisibilityChange); 63 }); 64});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.