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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Mozilla 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

Import bookmarks with a policies.json script

  • 1 प्रत्युत्तर दें
  • 0 यह समस्या है
  • के द्वारा अंतिम प्रतियुतर dylan.pereira

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

चुने गए समाधान

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

संदर्भ में यह जवाब पढ़ें 👍 0

All Replies (1)

more options

चयनित समाधान

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

Helpful?

प्रश्न पूछें

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