1(function(){ 2// ------------------------------ start ------------------------------ 3 4if(location.href.indexOf('//www.pingan.com/w/') > -1) { 5 window.pasearchUrl = 'https://www.pingan.com/official/pasearch'; 6 window.pasearchResultUrl = location.href.split('.shtml')[0] + '.shtml'; 7} else if(/pingan\.com$/.test(location.host)) { 8 window.pasearchUrl = 'https://search.pingan.com'; 9 window.pasearchResultUrl = 'https://search.pingan.com/official/pasearch-result'; 10} else { 11 window.pasearchUrl = '/official/pasearch'; 12 window.pasearchResultUrl = '/official/pasearch-result'; 13} 14 15// window.msearchUrl = ''; 16// window.msearchDetailUrl = ''; 17 18var searchDomain = location.hostname.indexOf('search.pingan.com') > -1; 19var searchPath = location.pathname.indexOf('/official/pasearch') > -1; 20if(!searchDomain && !searchPath) { 21 var addSearchEntry = function() { 22 var indexSuspended = document.querySelector('.index-suspended'); 23 if(indexSuspended && !indexSuspended.querySelector('.pa-search-entry')) { 24 var imgId = 'pa-search-entry'; 25 if(!document.getElementById(imgId)) { 26 var img = document.createElement('img'); 27 img.id = imgId; 28 img.src = 'https://resources.pingan.com/app_js/pingan/webinfo/pc/images/pasearch.gif'; 29 img.style.position = 'absolute'; 30 img.style.top = '-70px'; 31 img.style.left = '-7px'; 32 img.style.width = '70px'; 33 img.style.height = '70px'; 34 img.style.userSelect = 'none'; 35 img.style.cursor = 'pointer'; 36 37 img.onclick = function() { 38 window.open('https://search.pingan.com?searchFrom=com'); 39 }; 40 indexSuspended.appendChild(img); 41 } 42 } 43 }; 44 if (document.readyState != 'loading') { 45 addSearchEntry(); 46 } else { 47 document.addEventListener('DOMContentLoaded', addSearchEntry); 48 } 49} 50// ---- PC ---- 51var sid = 'hidden-account_forjs'; 52if(location.host !== 'test-pa18-node.pingan.com.cn' && !document.getElementById(sid)) { 53 var style = document.createElement('style'); 54 style.id = sid; 55 style.type = 'text/css'; 56 style.appendChild(document.createTextNode('.login-box-wrap .login-box-content .login-box-form .login-tab .login-account, .login-box-wrap .login-box-content .login-box-form .login-form-content .login-form-account, .login-box-wrap .login-box-content .login-box-form .login-forgot-password {display: none;}')); 57 document.head.appendChild(style); 58} 59// ------æ°åä¸åºèå页banner --------- 60if(location.href.indexOf('/official/new-product') > -1) { 61 var style = document.createElement('style'); 62 style.type = 'text/css'; 63 style.appendChild(document.createTextNode('.product-list-wrap .product-section .section-content .swiper-cont .swiper-it .product-it-cont .product-it-attr {margin-bottom: 19px} .activity-wrap .activity-cont{bottom:30px !important} .update-wrap .update-content .update-title {margin-left:5px;}.update-wrap .update-content .update-item-name {margin: 10px 0 10px 10px !important;width:100px !important} .update-wrap .update-content{padding:16px 5px 16px 11px !important} .activity-it-info-buy{line-height:48px} .activity-it-attr {margin-bottom:0 !important}')) 64 document.head.appendChild(style); 65} 66if(location.href.indexOf('/official/corp-insurance') > -1) { 67 var style = document.createElement('style'); 68 style.type = 'text/css'; 69 style.appendChild(document.createTextNode('.corp-insurance-h1 {position:absolute;left:-9999px;overflow:hidden;width:1px;height:1px;}')) 70 document.head.appendChild(style); 71 72} 73// ---- end PC ---- 74// ------------------------------ end ------------------------------ 75})();
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.