Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

Cannot view source code of http websites

cor-el 已回复
calumchilds

When I press CTRL + U on a http website to view the source code, it comes up with an error message saying that there is a potential security risk ahead. Even if I try to change the https that Firefox has recently started to insert in view-source URLs, it still doesn't allow me to view the source code of the website.

Firefox is the only browser that I know of that does this. Google Chrome allows you to view the website's source code, even if the website's URL begins with http. This hasn't always been the case, but it has been the case since I last updated Firefox.

When I press CTRL + U on a http website to view the source code, it comes up with an error message saying that there is a potential security risk ahead. Even if I try to change the https that Firefox has recently started to insert in view-source URLs, it still doesn't allow me to view the source code of the website. Firefox is the only browser that I know of that does this. Google Chrome allows you to view the website's source code, even if the website's URL begins with http. This hasn't always been the case, but it has been the case since I last updated Firefox.

所有回复 (1)

Do you have enabled "Always use private browsing mode" as this is a possible cause of this bug ?

Possible workaround for now:

See:

  • 1731419 - Cannot view source of http-only page (in private browsing mode)

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)