阅读(301) (1)

silentResource

2019-02-20 15:52:19 更新

如果你不需要监控资源加载错误,则可以将silentResource属性设为true。

  • 在HTML中配置<script>标签中配置silentResource属性
<script src="https://js.fundebug.cn/fundebug.1.5.1.min.js" rel="external nofollow"  
            apikey="API-KEY" 
            silentResource=true></script>
  • 在JavaScript中配置silentResource变量
if ("fundebug" in window) {
   fundebug.silentResource = true;
}