Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

Is the guid field in JSON of the bookmarks file now encrypted?

  • 1 ŋuɖoɖo
  • 0 masɔmasɔ sia le wosi
  • 48 views
  • Nuɖoɖo mlɔetɔ oneskywalker49

more options

When I discover that I have already bookmarked a URL, I want to easily discover in which of my folder(s) I have saved the bookmark. In some cases, the hosting site morphs the bookmarked URL with a redirect, so I am unable to discover the containing folder by browsing to the URL. Sigh. I would also like to discover situations where I have already bookmarked a single URL in several different folders.

I have downloaded the JSON for my bookmarks file and parsed the JSON. I now know that I have 7388 URLs bookmarked which are saved across 111 folders.

I am having trouble discovering the parent/child relationships between the various folders in which the bookmarks are saved. I have several situations where child folders have the same names and can be identified only when the child's parent folder is known.

Undated Firefox documentation at [https://developer.mozilla.org/en-US/d.../BookmarkTreeNode#parentid] suggests that each node in the bookmark tree should have a parentid and an index. I see an index but I do not see a parentid. I do see a GUID field. I have seen comments suggesting that parentid has been replaced by GUID.

But the values I see (GUID=FqNNI0k91ZjW, for example) do not make sense and have no connection to the ID fields (ID=2658, for example).

Can anyone help me make sense of the GUID values I am seeing? Are GUIDs now being hashed for some reason?

When I discover that I have already bookmarked a URL, I want to easily discover in which of my folder(s) I have saved the bookmark. In some cases, the hosting site morphs the bookmarked URL with a redirect, so I am unable to discover the containing folder by browsing to the URL. Sigh. I would also like to discover situations where I have already bookmarked a single URL in several different folders. I have downloaded the JSON for my bookmarks file and parsed the JSON. I now know that I have 7388 URLs bookmarked which are saved across 111 folders. I am having trouble discovering the parent/child relationships between the various folders in which the bookmarks are saved. I have several situations where child folders have the same names and can be identified only when the child's parent folder is known. Undated Firefox documentation at [[https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks/BookmarkTreeNode#parentid|https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks/BookmarkTreeNode#parentid]] suggests that each node in the bookmark tree should have a parentid and an index. I see an index but I do not see a parentid. I do see a GUID field. I have seen comments suggesting that parentid has been replaced by GUID. But the values I see (GUID=FqNNI0k91ZjW, for example) do not make sense and have no connection to the ID fields (ID=2658, for example). Can anyone help me make sense of the GUID values I am seeing? Are GUIDs now being hashed for some reason?

oneskywalker49 trɔe

All Replies (1)

more options

I received no answer here.

However, I discovered a key piece of information missing from the architecture document: Bookmark and folder objects are encountered in the JSON repository in the order in which they appear in the bookmark hierarchy, meaning that an index property (without a parentid property) can uniquely specify where in the bookmark hierarchy a folder or bookmark belongs.

That is true only if index placeholders (which represent neither folders nor bookmarked URLs) are introduced to address rare situations where the child belonging to a parent folder has an index suggesting that it belongs in a child folder.

Index placeholders have typeCode=3 in the JSON repository. URLs/bookmarks have typeCode=1 and folders (in which bookmarks are saved) have typeCode=2.

I now have a Perl script which quickly displays in which of my folder(s) I have saved a particular bookmark.

Bia biabia

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.