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

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 1 resposta
  • 0 têm este problema
  • 56 visualizações
  • Última resposta por 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?

Modificado por oneskywalker49 a

Todas as respostas (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.

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.