Skip to content

Possibility of changing the pinned sites on the New Tab Page #1030

Closed Answered by mkaply
Zagrthos asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the delay in getting back.

Because this is actually a string in Firefox preferences, you can't put it as actual JSON for the value.

This will work (ugly, I know):

{
	"browser.newtabpage.pinned": {
		"Value": "[{\"url\": \"https://test1.de/\",\"label\": \"Test1\"},{\"url\": \"https://test2.de\",\"label\": \"Test2\"}]",
		"Status": "locked"
	}
}

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Zagrthos
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants