【发布时间】:2017-08-17 20:28:55
【问题描述】:
我正在 SharePoint 2013 网站上处理一个 Angular 项目。在 IE 11 中使用控制台窗口时,我看到 75 条如下警告:
SEC7132: The certificate protecting this web site uses weak cryptography,
SHA1. The web site should replace this certificate with a SHA2 certificate
before SHA1 is no longer allowed.
现在,请接受我无法控制我的管理员并且我不能强迫他们修复证书的前提。我无法消除此警告的来源。
我知道我可以禁用显示所有警告。但我不能假设我的代码只会产生错误,我仍然会有一些我想看到的警告。如何抑制控制台中的特定警告?
【问题讨论】:
标签: angularjs debugging warnings internet-explorer-11