ddwatch.js 787 B

123456789101112131415
  1. var isDingtalk = navigator && /DingTalk/.test(navigator.userAgent);
  2. var isProductEnv = window &&window.location &&window.location.host
  3. && window.location.host.indexOf('127.0.0.1')===-1
  4. && window.location.host.indexOf('localhost')===-1
  5. && window.location.host.indexOf('192.168.')===-1
  6. // 如果有其它测试域名,请一起排掉,减少测试环境对生产环境监控的干扰
  7. if (isProductEnv) { !(function(c,i,e,b){var h=i.createElement("script");
  8. var f=i.getElementsByTagName("script")[0];
  9. h.type="text/javascript";
  10. h.crossorigin=true;
  11. h.onload=function(){c[b]||(c[b]=new c.wpkReporter({bid:"dta_2_138115"}));
  12. c[b].installAll()};
  13. f.parentNode.insertBefore(h,f);
  14. h.src=e})(window,document,"https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js","__wpk");
  15. }