(() => { const ua = navigator.userAgent; const noMobile = !(/(iPhone|iPad|iPod|iOS)/i.test(ua) || /Windows\sPhone/i.test(ua) || /(Android)/i.test(ua)); setTimeout(() => { noMobile && document.title === '' && (document.title = '微信公眾平臺'); }, 1000); window.addEventListener('securitypolicyviolation', (e) => { if (e.effectiveDirective === 'base-uri') { (new Image()).src = location.protocol + '//mp.weixin.qq.com/mp/jsmonitor?idkey=523105_1_1&r=' + Math.random(); } const reportData = { violatedDirective: e.effectiveDirective, blockedURI: e.blockedURI, sourceFile: e.sourceFile, lineNumber: e.lineNumber, columnNumber: e.columnNumber, disposition: e.disposition, referrer: e.referrer, sample: e.sample, originalPolicy: e.originalPolicy }; let str = ''; const keys = Object.keys(reportData); for (let i = 0; i < keys.length; i++) { const key = keys[i]; str += key + ': ' + reportData[key] + ' || '; } str += 'location: ' + location.href; window.WX_BJ_REPORT && window.WX_BJ_REPORT.BadJs && window.WX_BJ_REPORT.BadJs.report( e.effectiveDirective, str, { mid: 'mmbizwap:csp_report', view: 'wap_business' } ); }); })();
cover_image

價(jià)值投資君丨一場被低估的巴菲特對話:沒有足夠閱歷可能讀不懂

繼續(xù)滑動看下一個(gè)
價(jià)值投資君
向上滑動看下一個(gè)