搜尋 Mozilla 技術支援網站

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

了解更多

Backup/Exported Bookmarks files (.json/.html) aren't the same (checksum) between Synced devices

  • 3 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 rv

more options

Hi, thanks a lot in advance and sorry to bother. :)

I have a couple of desktop/laptop devices synced with the same account. When I make a backup/export of my bookmarks in each device (.json/.html files) the checksums of those files don't coincide between devices. Nevertheless, if I open the exported HTMLs in Firefox and save them as Text Files, the resultant files have all the same checksum (sha256sum), i.e., are all the same.

Is this how it is supposed to be? Or should my bookmarks JSON/HTML files be exactly the same in all devices and something is wrong?

Thanks a lot in advance.

Hi, thanks a lot in advance and sorry to bother. :) I have a couple of desktop/laptop devices synced with the same account. When I make a backup/export of my bookmarks in each device (.json/.html files) the checksums of those files don't coincide between devices. Nevertheless, if I open the exported HTMLs in Firefox and save them as Text Files, the resultant files have all the same checksum (sha256sum), i.e., are all the same. Is this how it is supposed to be? Or should my bookmarks JSON/HTML files be exactly the same in all devices and something is wrong? Thanks a lot in advance.

由 rv 於 修改

被選擇的解決方法

rv.sin.mail said

Nevertheless, if I open the exported HTMLs in Firefox and save them as Text Files, the resultant files have all the same checksum (sha256sum), i.e., are all the same.

Do the text files just contain the bookmark names/titles? The HTML may contain icon data, and this can vary between profiles, as you may have noticed (some have the real site icon after you visited the site, some have the globe because you didn't visit on that profile).

By the way, you could use a diff program to compare the HTML files. (I think it would struggle with the JSON files.)

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

所有回覆 (3)

more options

You can do a compare to see where the files differ. JSON and HTML backups contain metadata like date/time for last accessed and thus can be different.

more options

選擇的解決方法

rv.sin.mail said

Nevertheless, if I open the exported HTMLs in Firefox and save them as Text Files, the resultant files have all the same checksum (sha256sum), i.e., are all the same.

Do the text files just contain the bookmark names/titles? The HTML may contain icon data, and this can vary between profiles, as you may have noticed (some have the real site icon after you visited the site, some have the globe because you didn't visit on that profile).

By the way, you could use a diff program to compare the HTML files. (I think it would struggle with the JSON files.)

more options

Thanks a lot, @cor-el and @jscher2000 !

The info you mentioned is really helpful. Can't remember why I didn't made a `diff` between the JSON/HTML files, but I'm gonna do it to better understand the case. Hope that clarifies it fully.

Have a beautiful day. ^_^