This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cannot view source code of http websites

  • 1 reply
  • 1 has this problem
  • 24 views
  • Last reply by 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.

All Replies (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
)