Cannot view source code of http websites
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.
Tất cả các câu trả lời (1)
Do you have enabled "Always use private browsing mode" as this is a possible cause of this bug ?
Possible workaround for now:
- about:config => dom.security.https_first_pbm = false
- https://support.mozilla.org/en-US/kb/about-config-editor-firefox
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)