Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Import bookmarks with a policies.json script

more options

I'm setting up a cloud-init to make it easier to deploy Linux workstations. I want to display the various links to my sites on my Firefox browser. Bookmark my services. Do you think this is possible? I've already applied a rule to retrieve certificates, but it seems complicated for bookmarks.

Here's an extract  :

{

 "policies": {
   "Bookmarks": [
     {
       "Title": "Main",
       "URL": "https://service.net",
       "Folder": "Bookmarks Toolbar"
     },
     {
       "Title": "Service 1",
       "URL": "https://service1.net",
       "Folder": "Bookmarks Toolbar"
     },
     {
       "Title": "Service 2",
       "URL": "https://service2.net",
       "Folder": "Bookmarks Toolbar"
     },
     {
       "Title": "Documentation",
       "URL": "https://docs.net",
       "Folder": "Bookmarks Toolbar"
     }
   ]
 }

}

Best Regards,

Dylan

I'm setting up a cloud-init to make it easier to deploy Linux workstations. I want to display the various links to my sites on my Firefox browser. Bookmark my services. Do you think this is possible? I've already applied a rule to retrieve certificates, but it seems complicated for bookmarks. Here's an extract : { "policies": { "Bookmarks": [ { "Title": "Main", "URL": "https://service.net", "Folder": "Bookmarks Toolbar" }, { "Title": "Service 1", "URL": "https://service1.net", "Folder": "Bookmarks Toolbar" }, { "Title": "Service 2", "URL": "https://service2.net", "Folder": "Bookmarks Toolbar" }, { "Title": "Documentation", "URL": "https://docs.net", "Folder": "Bookmarks Toolbar" } ] } } Best Regards, Dylan

Gekozen oplossing

Okay I found the solution, there was a frame proposed by Firefox but it didn't work with my script so I modified it and it works perfectly.

{

 "policies": {
   "Bookmarks": [
     {
       "Title": "Documentation",
       "URL": "https://internal.docs/",
       "Placement": "toolbar",
       "Folder": "Infrastructures"
     },
     {
       "Title": "Internal Portal",
       "URL": "https://internal.portal/auth/",
       "Placement": "toolbar",
       "Folder": "Infrastructures"
     },

On the policies script, I've also made a rule about certificates, so everything works.

Best Regards,

Dylan

Dit antwoord in context lezen 👍 0

Alle antwoorden (1)

more options

Gekozen oplossing

Okay I found the solution, there was a frame proposed by Firefox but it didn't work with my script so I modified it and it works perfectly.

{

 "policies": {
   "Bookmarks": [
     {
       "Title": "Documentation",
       "URL": "https://internal.docs/",
       "Placement": "toolbar",
       "Folder": "Infrastructures"
     },
     {
       "Title": "Internal Portal",
       "URL": "https://internal.portal/auth/",
       "Placement": "toolbar",
       "Folder": "Infrastructures"
     },

On the policies script, I've also made a rule about certificates, so everything works.

Best Regards,

Dylan

Behulpzaam?

Een vraag stellen

U moet zich aanmelden bij uw account om op berichten te antwoorden. Stel een nieuwe vraag als u nog geen account hebt.