问题描述

经测试发现问题只出现在:

1、原生IE8(其他版本IE模拟出的IE8无此问题)

2、从打开IE8没有开启过F12(曾经开启过又关闭的无此问题)

IE8报错“由于出现错误80020101而导致此项操作无法完成”,进而导致当前页面无法显示,同时整站所有页面都无法加载。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlcAAAGKCAIAAACuEfO/AAAgAElEQVR4nO2deXRU153nX/d0T8+ZmZykQ86Z6S3dVgxmMY4dG3BIMiRKOsaJg5MmdtI4jrMMnna605F7oibujjPEiWnssInFZvMGAWMQIEAgCSEJCYEAIZBYZMSO0L5LpRJCEtT8Uab8eHd5t0pVqpLe53O+R+fVfb/7u797X9Xvi4SNrNWZ5QghhJA3Za3ZU4EQQgh5U9barJMhFajJy8s7eLraHowQQgjFWm9vzP3eF76RPCopuvreF77x9sbctVknrTezT4VUUFAw0N8/MNB/8+bAzZsDt27dvHXr5sBA/61bN48ePZqdnZNztMoejxBCCMVUM8ZMylm9xneqLLrKWb1mxphJb2afst7KORVSfn5+f3+faIS3bt0sLi7u6enJzs7ZfajSPgUhhBCKnZJHJXVVlDZseiO66qooTR6V9FbOKWtD/tmQ9u3b19d3Q2qEOTk5WVlZWVlZOTk59inmsiwrRsEeF2eFEBrBSh6V1Hn8SN2G1fUbV9dvXF2/4QMFR+qCF7ev6+/Qmg9mbVjz4cTbF53HjySPStqQf9baWFAVUm5u7uXmzvT3fftLfuMvSN634KG9Cya0l78cNMK62torly/n5OTYp2wsqLIsSz8SfCmGaRRWcFhpg8Qi+eCriqy2RNsOQghFUcmjktpLD9a+89qHWvda7boPrl/7t1/OfHJ2UK/92y+lI6Jq3nmtvfRg8qikjQVV1qb950P69Ru7v5Le8V7Gj6qykhekTP7sr47tLDq2+Z1/sH9TmJWVZZ+yaf95y7L0I2KAqyKYEq3MQ7/0IFeMXcEIIRR3JY9KajtcVP3G0uq1adVr06rfSPvgYm1a9dq0mU/ODtxm5pOzV8x5wTFydW3aVVt89RtLg6naDhclj0ratP+89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c0OfzVQAMFT6fDxcEj/PEoqyvFtf/4HjDCTDjB8cbvlpcH5PfspuamlpdXd3S0hLvPYInaGlpqa6u5nfNg8d5a9/JLy7N/9uD9V893oZM9LcH67+4NP+tfScNTzgMF5w/f/7ixYtramp8ALGnpqZm8eLF8+fPj6h1AIwc1uZWzFywZ9rc7chEMxfsWZtbYX684f0KxHnz5qWmpqYAxJ7U1NR58+aF2S4AAMIjQX/JOAAAwBCACwIAgHfBBQEAwLvgggAA4F1wQQAA8C64IAAAeBdcEAAAvAsuCAAA3gUXBAAA74ILAgCAd8EFAQDAu/x/rY/NTypWqQEAAAAASUVORK5CYII=" alt="" />

问题分析-IE8没有console对象

从上述症状分析,猜测应该跟IE8的开发者工具有关,说明代码中使用了IE开发者工具中提供的API接口或功能,而在没有开启F12时,因为没有相应接口导致报错。

通过开启F12发现输出了info信息,那就应该是代码中使用的console.info()导致的。

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAACRCAIAAABFWPhiAAANO0lEQVR4nO2d/U9d5QHH77+wzP1iXbv+atZkuvWHGZOisSPdi5lR0y26uGy42Lla52IrZGabJjVDtpVpy1Y0odHrCKEI2BXbarH2BSgtL4VCQTF1UBEo7eHN3ZUf2A93u72c5/Vy73OeC3w++ebmcs5zzvNynufDucdLjQUAAJ6I+W4AAKxeEBAAeAMBAYA3EBAAeCOWJPWDuDt9u75kCtWW0IGas2nasIywabOmzCoZK+mECU2bUOHl1UHQ8L/LqVKMVEDSiaKRlLiQxDOoJpzqPGIZlftCtUsrElsl1r40jIcbBZSTsUo/lb4ufWtDh2Qz5mKbNbWIJbO8LpAnSCZK+owJzUvNPBYnn3E9ixNLtdiMC091ZpsCxvltP9dtGm/fwVyNlXiItNmZdlbVQvsCqo6rmmccMVh2yKej9DUQZqp+0kjLG1eL6lQ2PdEfoiogXXvGs9k3RnMGvRFyNVahDqqq0zfVWF1GY25ss7RYlhcF8hDdbU5gcZnTRWOzZlQTPaNFpVq0+rOljrIRjX3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9r6JPLg4ND3Rd6T55q6em5uHffXo2AACAdBGQmKaDU152DYOratetXr04ODV0eGPi4r3+gp6evte3ciROnu7ou6AXkuysA+QUCMpMS0Ozs7NTUdNI+Y2MTA4MfX7x4qbu79/z57paW9g8+ONXZ2Y2AAOxBQGYQEIAjEJAZBATgCARkBgEBOAIBmUFAAI5AQGYQEIAjEJAZBATgCARkJiWg5JeArl6dHB+f+Pzzsf7+wZ6evs7OC+3tHafPtB1v/hABAWQEAjKTFNDs7GzSPmNj46OjY1eujPb0XOzs7G4/19HScvbDk2feP34CAQFkBAIyk0gkqqurR0ZGpqaS34G+OjFxdXx8Ymjok8HBjwcGP7p0aaCv71Jvb19bW3s8HkdAAJYgIDOJRKKlpaW6unrvvr36xOPxY8eOISAASxCQGf49IABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAAByBgMwgIABHICAzCAjAEQjIDAICcAQCMoOAABzxX7ZkmTrU59+wAAAAAElFTkSuQmCC" alt="" />

经检查发现IE8下当没有开启过F12时,window对象中没有console,遂使用console任何方法都会报错。

解决方案-IE下构造空console对象

增加兼容代码,若当前window中存在console对象则使用当前对象,不存在则新增window.console对象,将所有console函数定义为空函数。用以保证页面不会报错。

新增兼容代码后,当IE8不能使用console时,也不会报错。美美的。

//兼容IE8的空console对象
window.console = window.console || {
log: $.noop,
debug: $.noop,
info: $.noop,
warn: $.noop,
exception: $.noop,
assert: $.noop,
dir: $.noop,
dirxml: $.noop,
trace: $.noop,
group: $.noop,
groupCollapsed: $.noop,
groupEnd: $.noop,
profile: $.noop,
profileEnd: $.noop,
count: $.noop,
clear: $.noop,
time: $.noop,
timeEnd: $.noop,
timeStamp: $.noop,
table: $.noop,
error: $.noop
};

新问题-console对象不全

好景不长,没过多久测试组发现还有一些IE8版本报错,一看依然是console问题。

经测试发现,某些第三方库检测到了当前没有console对象,从而创建了一个畸形的console对象,遂骗过了上述兼容代码,但是它的console中只有log方法。而代码中使用了console.info,遂导致依然报错。

var str = "window.console:\n";
for (var i in window.console) {
str += i + " : " + typeof (window.console[i]) + "\r\n";
}
alert(str);

运行结果:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAAC+CAIAAABMCf8PAAARDUlEQVR4nO2df1CTd57Hv+pKe+54O71LXXu6rRcdtvbu/tghXt0uoCVKK55aNyvu6qgzN0JnnatuZ3W97uyam+3suVM8f8xI+RFAfljUQtFAgEDABBIgIZCQhF+iCErkR0JCIFCgBXN/BB7TPHmepPoEvg/5vOY9mW++z/f7+Xx58moi+KPIBQB4gxb7AADgB3AUwB1wFMAdcBTAHXAUwB1wFMAdcBTAHXAUwJ1AHeUBwAuzfv36tWvXMu8oj8eLiYmpqKjo6+v7vtUBwJOZmZn7Q8Pr+HGcNWsC3+XHUR6Pd+nSJbPZnCppgUAYidExeau9N3BN/TgaExNjNpvTJAYIhMHU2CfW/+owA47yeLy+vr70MiMEwni+HJpYv349A45OTk6Kyk2QkEp2ftWRqD18DpfZHInak51fRXTJHxjn8XgMOOpyuTKlrZCQyr7wLZXponFTE7OpTBftC99CdMnpZ87RrIrWEAxCaNHPsFjhc7hOQ+PQrQxm4zQ08jlcokvGE+YcvX73Hn0QQs93FdESyBrPZTRNfS6jmqTpEiLhc7hjOvVAftrgjbTBG2mD+XNxzwy4B/Pjwe8kfW5XfvqzjfODMZ2az+ESXc73MufoF/Iu+iCEfE7SQLORvmaA68krib7k7p6Lv2/fJRk+h+vQqvpzk58lL7k/b26c8sc/CeIT3Un54598zpDzJDfZoVXxOVyiy6cPmXP0huKBV+j9I9aQN3pdolrvOU/fjryAvJ7qAJ6PfntRfS1LMnwOd0RdY866bM68bM683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W4OOIoFbkcX+xSLAzjKDiKF4vfavxkJSd5r/wYcZQEL7ChCyO8Cv2uYAhxlB25HbcEBeeD11D1DXkYmSGez2WzgKDuIFIpj26eHgwlCiHj0nKF6GuClFye2fRocZQHBdpQQ1CfB6xsI4Cg7iBSKY9umrUGD0NE9Jh69BvQE6WyxbeAoG4gUimMME91BAyHk+egFzZYFIMYwAY6ygKA6SohIfuwmuUg1HzzAUXYQKRS/2zJ+P2gghDwfvSCvJC8L3tnebRkHR1mA29GuoIEQ8vnoOXCPfc4HFXCUHSyAo550+XKUakGwAUfZQaRQvL3F2Rk0EELkAYHnPPmq57JgsL3FCY6ygEiheLve2R6SbNeDo2wAHKW5OeAoFkQKxdt0Y60hyTbdGDjKAtyOGkMScJQdgKM0NwccxYJIoTi6edQQkkQ3j4KjLEBwsSJaOXS42aIPMQ43W6KVQ/B3l1lAVpUp8ooiSjUU1ewIraiGIq8o4N+AYAcimXH/Bemi/+M2C5z9F6QimZH+zoCjAO6AowDugKMA7oCjAO6AowDugKMA7oCjAO6AowDugKMA7oCjAO6AowDugKMA7oCjAO6AowDuMO8oBMJ43tSbmXH0Tb0ZAglSmHEUAILKizoKADgAjgK4A44CuAOOArjz/w6Uc0H0GCAwAAAAAElFTkSuQmCC" alt="" />

我总不能把代码改成检测console否含有info方法,天知道哪个库又兼容error方法但不兼容其他函数?

似乎解决方案只能重写console对象了

最终解决方案-重写console所有函数

将常用的console函数都重新包裹一遍,相当于hook原函数,内部判断是否可用。

//兼容IE8的无console问题
window._console = window.console;//将原始console对象缓存
window.console = (function (orgConsole) {
var consoleObj = {};//最终被替换的console对象
var consoleFnArr = ["log", "debug", "info", "warn", "exception", "assert",
"dir", "dirxml", "trace","group", "groupCollapsed", "groupEnd", "profile",
"profileEnd", "count", "clear", "time", "timeEnd","timeStamp", "table",
"error", "memory", "markTimeline", "timeline", "timelineEnd"];
$.each(consoleFnArr, function (i, n) {
consoleObj[n] = function actionConsole() {
if (typeof (orgConsole) !== "object") return;//IE8不开控制台时console为undefined
if (typeof (orgConsole[n]) === "function") {//调用标准浏览器内部console函数
return orgConsole[n].apply(orgConsole, Array.prototype.slice.call(arguments));
} else {
//IE8下开启控制台时且console.log可用的情况下,执行typeof console.log返回"object"而不是"function"
try {
return orgConsole[n].apply(orgConsole, Array.prototype.slice.call(arguments));
} catch (ex) {
return null;
}
}
};
});
return consoleObj;
}(window._console));

关于上述代码中的try catch部分是因为:IE8下开启控制台时且console.log可用的情况下,执行typeof console.log返回"object"而不是"function"的BUG,具体可参照这篇文章

完美的解决了IE中的console对象不完整导致的各种问题,同时也不影响高级浏览器的console功能。

——2015年6月11日19:06:45

让IE兼容console——“由于出现错误80020101而导致此项操作无法完成”的解决方案的更多相关文章

  1. jquery IE7 下报错:SCRIPT257: 由于出现错误 80020101 而导致此项操作无法完成

        非IE(内核)浏览器运行正常,在IE中运行异常,一般考虑为js中多了符号.     常见的有:         1.上面的html注释"<!-- -->",这种 ...

  2. SCRIPT7002: XMLHttpRequest: 网络错误 0x2ef3, 由于出现错误 00002ef3 而导致此项操作无法完成,浏览器中的Keep-Alive

    http://www.cnblogs.com/OpenCoder/p/5089258.html     IE中Keep-Alive机制引起的错误 我们知道Http协议是基于TCP/IP连接的,也就是说 ...

  3. Ajax错误 “SCRIPT7002: XMLHttpRequest: 网络错误 0x2ef3, 由于出现错误 00002ef3 而导致此项操作无法完成” 的归纳总结

    最近在做Asp.net项目的时候,用Ajax访问服务器数据有时候老是莫名其妙的报错:SCRIPT7002: XMLHttpRequest: 网络错误 0x2ef3, 由于出现错误 00002ef3 而 ...

  4. SCRIPT7002: XMLHttpRequest: 网络错误 0x2efe, 由于出现错误 00002efe 而导致此项操作无法完成

    google中带中文参数可能查询,但是在IE带中文参数不能查询:报如下错误 SCRIPT7002: XMLHttpRequest: 网络错误 0x2efe, 由于出现错误 00002efe 而导致此项 ...

  5. XMLHttpRequest: 网络错误 0x2ee4, 由于出现错误 00002ee4 而导致此项操作无法完成

    原因: IE11有默认设置安全策略,如果url需要证书,一发送请求IE11就会拒绝,因为ssl certificate(SSL证书) 是非法的 解决方案: (1)修改IE浏览器配置 - 用户使用的电脑 ...

  6. IE8下提示'console'未定义错误

    在开发的过程中由于调试的原因,在代码中加入console.info("xxxx"),而未进行删除 在IE8下测试该代码所在的页面报错,如下: 需要注意的是,使用console对象查 ...

  7. 无法写入预编译头文件,由于 IO 设备错误,无法运行此项请求的错误的解决

    作者:朱金灿 来源:http://blog.csdn.net/clever101 早上查看服务器每日构建的情况,发现出现一个诡异的错误: fatal error C1085: 无法写入预编译头文件:& ...

  8. 错误详情:已取消该操作。--------- 在 System.Threading.CancellationToken.ThrowOperationCanceledException()

    错误详情:已取消该操作.--------- 在 System.Threading.CancellationToken.ThrowOperationCanceledException() 在 Syste ...

  9. Console对象与错误处理机制

    console的常见用途有两个. 调试程序,显示网页代码运行时的错误信息. 提供了一个命令行接口,用来与网页代码互动. console对象的浏览器实现,包含在浏览器自带的开发工具之中.按 F12 打开 ...

随机推荐

  1. HTTP的常见状态码

    一.1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态码. 100(继续) 请求者应当继续提出请求.服务器返回此代码表示已收到请求的第一部分,正在等待其余部分. 101(切换协议) 请求者 ...

  2. Mysql覆盖索引与延迟关联

    延迟关联:通过使用覆盖索引查询返回需要的主键,再根据主键关联原表获得需要的数据.   为什innodb的索引叶子节点存的是主键,而不是像myisam一样存数据的物理地址指针? 如果存的是物理地址指针不 ...

  3. centos linux系统日常管理复习 CPU物理数逻辑核数,iftop ,iotop ,sar ,ps,netstat ,一网卡多IP,mii-tool 连接,ethtool速率,一个网卡配置多个IP,mii-tool 连接,ethtool速率 ,crontab备份, 第十八节课

    centos linux系统日常管理复习 物理CPU和每颗CPU的逻辑核数,uptime ,w,vmstat,iftop ,iotop ,sar ,ps,netstat ,一个网卡配置多个IP,mii ...

  4. Java压缩多个文件并导出

    controller层: /** * 打包压缩下载文件 */ @RequestMapping(value = "/downLoadZipFile") public void dow ...

  5. oracle 查询按月份分组

    如下表table1: 日期(exportDate)               数量(amount) --------------                    ----------- 14- ...

  6. Digital Image Processing 学习笔记1

    第一章 1.1 数字图像 一幅图像可以定义为一个而为函数, 其中x和y是空间坐标,而在任何一对空间坐标(x, y)处的幅值f称为图像在该点处的强度或灰度.当x, y和灰度值f是有限的离散数值时,该图像 ...

  7. laravel 中间件排除

    public function __construct(){ //除了主页之外 $this->middleware('auth', ['except' => ['index','show' ...

  8. 根据源Excel文件,新建Excel文件

    /** * 描述:根据源Excel文件,创建新的Excel文件 * @param excelFile * @throws CheckException */public static void cre ...

  9. LabView和DLL中的参数问题

    注意:在LabView中调用DLL函数时,一定要指定对应的参数类型,而不是选择“Adapt to Type”,否则会出错,不知道为什么书上是要选择“Adapt to Type”. 以下做个参考: 转自 ...

  10. Harbor 企业级 Docker Registry

    HarBor项目:https://github.com/vmware/harbor 下载:https://github.com/vmware/harbor/releases 安装文档:https:// ...