Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

ManagedBookmarks [JSON]

  • 5 respostas
  • 0 tem este problema
  • 1 exibição
  • Última resposta de bartekbrzozka

more options

Hello,

Firefox 102.6.0esr (x64) Firefox 108.2.0 (x64)

after implementing the bookmarks (JSON) setting by GPO policy, it turns out that an entry for Bookmarks is created in the registry and not ManagedBookmarks, which causes bookmarks not to appear in the bookmarks bar. When I manually rename a registry entry from Bookmarks to ManagedBookmarks, the bookmarks appear properly. Please let me know if I'm doing something wrong or if there really is a problem reported by me.

Yours sincerely Bart

Hello, Firefox 102.6.0esr (x64) Firefox 108.2.0 (x64) after implementing the bookmarks (JSON) setting by GPO policy, it turns out that an entry for Bookmarks is created in the registry and not ManagedBookmarks, which causes bookmarks not to appear in the bookmarks bar. When I manually rename a registry entry from Bookmarks to ManagedBookmarks, the bookmarks appear properly. Please let me know if I'm doing something wrong or if there really is a problem reported by me. Yours sincerely Bart
Capturas de tela anexadas

Solução escolhida

Sorry, I'm remembering what was done here.

We added the ability to set Bookmarks via JSON specifically so you could delete bookmarks:

https://github.com/mozilla/policy-templates/issues/817

The format for Bookmarks (JSON) is not the same as Managed Bookmarks.

So whether you use Bookmarks or ManagedBookmarks, depends on what you want.

ManagedBookmarks gives you one named item on the toolbar with all of your items underneath it.

The Bookmarks policy (which can be done either via JSON or via the Bookmarks items in policy) adds bookmarks items directly on the toolbar or menu.

Ler esta resposta 👍 1

Todas as respostas (5)

more options

I'm really confused by that.

The ADMX template definitely sets the value ManagedBookmarks:

https://github.com/mozilla/policy-templates/blob/master/windows/firefox.admx#L3839

```

   <policy name="ManagedBookmarks" class="Both" displayName="$(string.ManagedBookmarks)" key="Software\Policies\Mozilla\Firefox" explainText="$(string.ManagedBookmarks_Explain)" presentation="$(presentation.JSON)">
     <parentCategory ref="firefox"/>
     <supportedOn ref="SUPPORTED_FF83"/>
     <elements>
       <multiText id="JSON" valueName="ManagedBookmarks"  maxLength="16384"/>
     </elements>
   </policy>

``` What version are you using?

more options

Hello,

Sorry for the late reply. So in the definition file, in its header I have version 4.4

<policyDefinitions revision="4.4" schemaVersion="1.0">

 <policyNamespaces>
   <target prefix="firefox" namespace="Mozilla.Policies.Firefox"/>
   <using prefix="Mozilla" namespace="Mozilla.Policies"/>
 </policyNamespaces>
 <resources minRequiredRevision="4.4"/>
 <supportedOn>
   <definitions>

So far we have been using single bookmarks entries but I changed the value in them from enabled to not configured. Then I enabled the entry for Bookmarks (JSON) and after refreshing Group Policy it creates an entry for Bookmarks in the registry hive. It's really weird.

I checked it on another computer and as expected, exactly the same thing happens.

Attachments: 1. The result of the policy as an entry in the register is attached (another computer) 2. And the beginning of the policy definition admx file used in our environment

Yours sincerely Bart

more options

After analyzing the definition file, it turns out that there are two sections relating to bookmarks in JSON format, and it turns out that we overlap the first one, i.e. the one referring to the entry in the registry called Bookmarks. So the question is whether the second entry (ManagedBookmarks) works only on a specific version of Firefox? On which? Are the versions I specify at the beggining supported?

Second one: <policy name="ManagedBookmarks" class="Both" displayName="$(string.ManagedBookmarks)" key="Software\Policies\Mozilla\Firefox" explainText="$(string.ManagedBookmarks_Explain)" presentation="$(presentation.JSON)">

     <parentCategory ref="firefox"/>
     <supportedOn ref="SUPPORTED_FF83"/>
     <elements>
       <multiText id="JSON" valueName="ManagedBookmarks"  maxLength="16384"/>
     </elements>

</policy>

First one: <policy name="A_Bookmarks" class="Both" displayName="$(string.Bookmarks)" key="Software\Policies\Mozilla\Firefox" explainText="$(string.Bookmarks_Explain)" presentation="$(presentation.JSON)">

     <parentCategory ref="Bookmarks"/>
     <supportedOn ref="SUPPORTED_FF95"/>
     <elements>
       <multiText id="JSON" valueName="Bookmarks"  maxLength="16384"/>
     </elements>
   </policy>

Alterado por bartekbrzozka em

more options

Solução escolhida

Sorry, I'm remembering what was done here.

We added the ability to set Bookmarks via JSON specifically so you could delete bookmarks:

https://github.com/mozilla/policy-templates/issues/817

The format for Bookmarks (JSON) is not the same as Managed Bookmarks.

So whether you use Bookmarks or ManagedBookmarks, depends on what you want.

ManagedBookmarks gives you one named item on the toolbar with all of your items underneath it.

The Bookmarks policy (which can be done either via JSON or via the Bookmarks items in policy) adds bookmarks items directly on the toolbar or menu.

more options

Thanks for the answer. Only now did I see my mistake. Everything works as it should.