grunt-yyfrontmonitor-util
Version:
45 lines (32 loc) • 1.69 kB
HTML
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<script class="__fequality__base">
window.__FEQUALITY__.errorQueue = [];
window.__FEQUALITY__.loadSrcQueue = [];
window.__FEQUALITY__.loadCallBack = function(){
this.setAttribute("onload",null);
this.setAttribute("onreadystatechange",null);
window.__FEQUALITY__.loadSrcQueue.push(this.src);
}
window.onerror = function(){
window.__FEQUALITY__.errorQueue.push(arguments);
return "yyF2E_ErrorRerport";
}
</script><script>
console.log("hello")
</script>
<script src="../bower_components/requirejs/require.js" onerror="__FEQUALITY__.loadCallBack(this)"></script>
<script class="__fequality_empty">
!window.__FEQUALITY__ &&( window.__FEQUALITY__ = {});
window.__FEQUALITY__.yy_reportEmptyTimeEnd = new Date().getTime();
</script></head><body>
<script src="test.js" onerror="__FEQUALITY__.loadCallBack(this)"></script>
<script id="__FEQUALITY__QID" qid="77" class="__fequality_load">
/*!2015-07-29 17:16:47 */
!function(a){a.loadScript(["http://test.yy.com:8000/yy-f2e-quality.js","http://szhuodong.duowan.com/s/rp/fequality/cf.js"])}(function(){function a(b,c){var d=c[b];if(d){b++;var e=document.createElement("script");e.type="text/javascript",e.onload=e.onreadystatechange=function(){return e.readyState&&"complete"!==e.readyState&&"loaded"!==e.readyState?!1:(e.onload=e.onreadystatechange=null,void a(b,c))},e.async=!0,e.src=d,document.getElementsByTagName("head")[0].appendChild(e)}}return{loadScript:function(b){b&&b.length&&b instanceof Array&&a(0,b)}}}());
</script>
</body>
</html>