阅读(3844) (1)

silentPerformance

2019-02-20 15:55:05 更新

如果你不需要报错的时候附带页面性能指标,则可以将silentPerformance属性设为true。

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