console被禁用后打印

(function () {
    var iframe = document.createElement('iframe');
    document.body.appendChild(iframe);
    window.console = iframe.contentWindow.console
}());
posted @ 2022-03-17 15:39  公众号python学习开发  阅读(47)  评论(0编辑  收藏  举报