Validation says data_collection_permissions missing, but exists in manifest? (original) (raw)
September 19, 2025, 12:01am 1
I must be doing… something wrong with how I used the data_collection_permissions entry. I want to do things right with my first uploaded extension. Sadly, I can’t even upload my issue because new users can’t upload attachments.
So here’s my manifest – for readability, copy into any AI or code editor and have it redo the indents:{“manifest_version”:2,“name”:“LMArenaPersonalLeaderboard”,“version”:“1.0”,“description”:“TrackyourAImodelpreferencesonlmarena.ai”,“permissions”:[“storage”,“unlimitedStorage”,“``https://lmarena.ai/*"],“content_scripts”:[{“matches”:[“https://lmarena.ai/*”],“js”:[“content-script.js”],“run_at”:“document_idle”}],“browser_action”:{“default_popup”:“popup.html”,“default_icon”:{“48”:“icon.png”},“browser_style”:true},“web_accessible_resources”:[“js/*.js”],“browser_specific_settings”:{“gecko”:{“id”:“lmarena-tracker@local”,“strict_min_version”:“79.0”}},“data_collection_permissions”:{“storage”:{“description”:“Storesyourvotinghistorylocallyonyourdevice.Nodataissenttoexternalservers.”},“websiteContent”:{“description”:“Readsmatchresultsandmodelnamesfromlmarena.aitotrackyourvotes.”,“required”:true,“dataTypes”:[“TextcontentfromLMArenamatches”]},“websiteActivity”:{“description”:“Tracksyourvotesonlmarena.aitomaintainyourpersonalleaderboard.”,“required”:true,“dataTypes”:[“Voteactions”,“Modelpreferences”]},“browsingActivity”:{“description”:“Detectswhenyou’reonlmarena.aitoenablevotetracking.”,“required”:true,“dataTypes”:[“URLmatchesforlmarena.aidomainonly”]}},“icons”:{“48”:"icon.png”``}}
And here’s the issue:
General Tests
0 errors, 0 warnings, 1 notice
The “data_collection_permissions” property is missing.
Warning: “/browser_specific_settings/gecko/data_collection_permissions” property will be required in the future. Please add this key to the manifest. More information at: https://mzl.la/blog-data-consent-firefox-nightly
manifest.json
hans_squared (Hans Squared) September 19, 2025, 8:09am 2
“data_collection_permissions” needs to be under “gecko”, according to New Extension Data Consent Experience now available in Firefox Nightly
Prettified (but not corrected) manifest:
{
"manifest_version": 2,
"name": "LMArena Personal Leaderboard",
"version": "1.0",
"description": "Track your AI model preferences on lmarena.ai",
"permissions": [
"storage",
"unlimitedStorage",
"https://lmarena.ai/*"
],
"content_scripts": [
{
"matches": [
"https://lmarena.ai/*"
],
"js": [
"content-script.js"
],
"run_at": "document_idle"
}
],
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"48": "icon.png"
},
"browser_style": true
},
"web_accessible_resources": [
"js/*.js"
],
"browser_specific_settings": {
"gecko": {
"id": "lmarena-tracker@local",
"strict_min_version": "79.0"
}
},
"data_collection_permissions": {
"storage": {
"description": "Stores your voting history locally on your device. No data is sent to external servers."
},
"websiteContent": {
"description": "Reads match results and model names from lmarena.ai to track your votes.",
"required": true,
"dataTypes": [
"Text content from LMArena matches"
]
},
"websiteActivity": {
"description": "Tracks your votes on lmarena.ai to maintain your personal leaderboard.",
"required": true,
"dataTypes": [
"Vote actions",
"Model preferences"
]
},
"browsingActivity": {
"description": "Detects when you're on lmarena.ai to enable vote tracking.",
"required": true,
"dataTypes": [
"URL matches for lmarena.ai domain only"
]
}
},
"icons": {
"48": "icon.png"
}
}
dewayx September 20, 2025, 10:42pm 3
This corrupted the extension. New manifest:
{
"manifest_version": 2,
"name": "LMArena Personal Leaderboard",
"version": "1.0",
"description": "Track your AI model preferences on lmarena.ai",
"permissions": [
"storage",
"unlimitedStorage",
"https://lmarena.ai/*"
],
"content_scripts": [
{
"matches": ["https://lmarena.ai/*"],
"js": ["content-script.js"],
"run_at": "document_idle"
}
],
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"48": "icon.png"
},
"browser_style": true
},
"web_accessible_resources": [
"js/*.js"
],
"browser_specific_settings": {
"gecko": {
"id": "lmarena-tracker@local",
"strict_min_version": "79.0",
"data_collection_permissions": {
"storage": {
"description": "Stores your voting history locally on your device. No data is sent to external servers.",
"required": true,
"dataTypes": ["Local storage of voting history"]
},
"websiteContent": {
"description": "Reads match results and model names from lmarena.ai to track your votes.",
"required": true,
"dataTypes": ["Text content from LM Arena matches"]
},
"websiteActivity": {
"description": "Tracks your votes on lmarena.ai to maintain your personal leaderboard.",
"required": true,
"dataTypes": ["Vote actions", "Model preferences"]
},
"browsingActivity": {
"description": "Detects when you're on lmarena.ai to enable vote tracking.",
"required": true,
"dataTypes": ["URL matches for lmarena.ai domain only"]
}
}
}
},
"icons": {
"48": "icon.png"
}
}
What am I doing wrong now?
Nevermind, I think I see what I’m doing wrong. That’s not even firefox’ format for data collection permissions xD