搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I cannot save Facebook web pages using the 'save page as' function of Firefox.

more options

Firefox works fine saving other web pages. I'm using MacOS High SIerra with all the latest updates. Same with Firefox.

When I save a Facebook web page and then open the resulting file, all I get is the text and images with no formatting of any kind. The problem started in August after I updated MacOS. Same problem opening older saved Facebook pages.

Firefox works fine saving other web pages. I'm using MacOS High SIerra with all the latest updates. Same with Firefox. When I save a Facebook web page and then open the resulting file, all I get is the text and images with no formatting of any kind. The problem started in August after I updated MacOS. Same problem opening older saved Facebook pages.

被選擇的解決方法

For the older saved pages, one possible explanation might be a security fix in Firefox 68 which restricts the kinds of files that pages can load (and methods of loading) when you open them from a file:// URL. This change was made to prevent exfiltration of valuable data within reach of a local page, as demonstrated in an available exploit. More info:

You can roll back the patch as follows if you want to see what difference it makes:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste uniq and pause while the list is filtered

(3) Double-click the privacy.file_unique_origin preference to switch the value from true to false

If you keep that setting, I suggest to mitigate the vulnerability:

If you save pages from untrusted sites, use a separate folder, e.g., Downloads/Untrusted. Then it would be difficult for an attacker to find any valuable content using local file links.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Hi Claude, when I try saving a page from FB (it wasn't my news feed), the saved page looks like Facebook, except that I don't get anything below the compose box, even though Firefox has stored images from those posts and seemingly dozens of other files. There's something a little too complex about the page maybe?

I saved using the default "Save as type" of "Web page, complete" and it failed. I used the Retry arrow on the Downloads list to try again. Perhaps that led to the incomplete result?

Anyway, if the built-in "complete" format doesn't work well on a site, you could try an add-on such as:

https://addons.mozilla.org/firefox/addon/single-file/

Obviously if there are a lot of images, it's going to be a big file, but on the upside, no companion folder to worry about.

Or maybe a PDF or screenshot would be good enough??

more options

選擇的解決方法

For the older saved pages, one possible explanation might be a security fix in Firefox 68 which restricts the kinds of files that pages can load (and methods of loading) when you open them from a file:// URL. This change was made to prevent exfiltration of valuable data within reach of a local page, as demonstrated in an available exploit. More info:

You can roll back the patch as follows if you want to see what difference it makes:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste uniq and pause while the list is filtered

(3) Double-click the privacy.file_unique_origin preference to switch the value from true to false

If you keep that setting, I suggest to mitigate the vulnerability:

If you save pages from untrusted sites, use a separate folder, e.g., Downloads/Untrusted. Then it would be difficult for an attacker to find any valuable content using local file links.

more options

It totally solved the problem! That is the reason why I was having trouble saving Facebook web pages. Thank you.

more options

Glad to hear that solved it for you. It didn't work for the page I was testing, but maybe there's a different reason for that.