查找有关安全网页的所有不安全内容

查找有关安全网页的所有不安全内容

本文介绍了查找有关安全网页的所有不安全内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是找到列表的最有效的方式,所有非HTTPS URL通过HTTPS页面请求?如果这种安全违规的情况发生,每一个浏览器向用户发出警报,但我不能找到一个简单的方法来查找确切的网址,导致冲突。

What's the most efficient way to find a list of all non-HTTPS URLs requested by an HTTPS page? If this kind of security violation happens, every browser alerts the user, but I can't find an easy way to find what exact URLs cause the violation.

到目前为止,我已经找到了最简单的方法是使用Firefox,但即便如此,它仍然不是很方便。首先,我可以用鼠标右键单击,选择查看页面信息,单击媒体选项卡,并通过URL列表滚动。然而,这好像只列出的图像文件,而不是CSS或JS包括也可能会导致错误。对于那些,我都用Firebug扩展,选择网络选项卡,然后手动悬停我的鼠标移过每一项,看整个URL。不幸的是,如果你有几十家媒体的文件,这可能需要一段时间。有没有更好的办法?

The easiest way I've found so far is to use Firefox, but even then it's still not very convenient. First, I can right-click, select View Page Info, click the Media tab, and scroll through a list of URLs. However, this seems to only list image files, not CSS or JS includes that can also cause the error. For those, I have to use the Firebug extension, select the Net tab, and manually hover my mouse over each item to see the entire URL. Unfortunately, this can take a while if you have dozens of media files. Is there a better way?

推荐答案

请注意,在最新版本的Chrome,这些错误会显示在JavaScript控制台。

Note, in recent versions of Chrome, these errors will be displayed in the Javascript Console.

例如

The page at https://mysecuresite.com displayed insecure content from http://unsecuresite.com/some.jpg.

这篇关于查找有关安全网页的所有不安全内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 22:53