Import bookmarks with a policies.json script
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
문맥에 따라 이 답변을 읽어주세요 👍 1모든 댓글 (1)
선택된 해결법
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