mutou 发表于 2018-6-14 18:49:41

通过自动注入脚本解决“console未定义”错误

当你遇到“console未定义”错误


先注入脚本再填写网页。


window.console = window.console || (function () {
    var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile
    = c.clear = c.exception = c.trace = c.assert = function () { };
    return c;
})();

页: [1]
查看完整版本: 通过自动注入脚本解决“console未定义”错误