app涓祵濂楀井淇″叕浼楀彿鏂囩珷閾炬帴

知识就是力量,时间就是生命。这篇文章主要讲述app涓祵濂楀井淇″叕浼楀彿鏂囩珷閾炬帴相关的知识,希望能为你提供帮助。
鏍囩锛?a href='http://www.mamicode.com/so/1/oca' title='oca'>oca      ajax      res      ref      frame      protoc      ext      cat      app     

if (article & & article.RefferID) { $.ajaxPrefilter(function (options) { if (options.crossDomain) { let http = (window.location.protocol === 鈥榟ttp:鈥?? 鈥榟ttp:鈥?: 鈥榟ttps:鈥?span style="color: #000000">); options.url = http + 鈥?/cors-anywhere.herokuapp.com/鈥?+ options.url; }; }); let showSrc = https://www.songbingjia.com/android/article.SourceUrl; //閾炬帴鍦板潃 $.get(showSrc, function (response) { let html = response; // 纭繚鍥剧墖鏄剧ず html = html.replace(/data-src/g,"src").replace(/< script[^< ]*(?:(?!< /script> )< [^< ]*)*< /script> /g, 鈥樷€?.replace(/https/g, 鈥榟ttp鈥?span style="color: #000000">); let html_src = 鈥榙ata:text/html; charset=utf-8,鈥?+ html; $(鈥?iframe鈥?.attr("src", html_src); }); }

【app涓祵濂楀井淇″叕浼楀彿鏂囩珷閾炬帴】 

    推荐阅读