拦截chrome的console.log输出

console.log = function(){};

这样 console.log(123) 将不会在输出任何调试信息

原文地址:https://www.cnblogs.com/gamedaybyday/p/8527073.html