搜索 | 用户支持

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

Learn More

Cannot view source code of http websites

  • 1 个回答
  • 1 人有此问题
  • 24 次查看
  • 最后回复者为 cor-el

more options

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)

more options

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
)