X
點擊此處開啟此網站的行動版。

技術支援討論區

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

已張貼

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
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:69.0) Gecko/20100101 Firefox/69.0

更多資訊

jscher2000
  • Top 10 Contributor
8775 個解決方法 71736 個答案

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??

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??
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8775 個解決方法 71736 個答案

選擇的解決方法

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.

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: * https://developer.mozilla.org/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp * https://www.mozilla.org/security/advisories/mfsa2019-21/#CVE-2019-11730 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
引用

提出問題者

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

It totally solved the problem! That is the reason why I was having trouble saving Facebook web pages. Thank you.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8775 個解決方法 71736 個答案

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.

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.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題