How to disable console.log messages based on criteria from specific javascript source (method, file) or message contents

后端 未结 5 1271
傲寒
傲寒 2020-12-06 07:34

I am working on project that uses quite a few js libraries and one of them is outputting awful lot into console, it is polluting the airwaves so bad that it makes it hard to

5条回答
  •  时光取名叫无心
    2020-12-06 07:48

    It work in chrome: ...index.html

    
    
    
    
    
    
    

    ...script.js

    console.log('this will work');
    

    Console.log does not work from index.html, but work from script.js. Both files situated on my desctop.

提交回复
热议问题