4

I can't get my head around how to upgrade my chrome extension manifest v2 with the options page to v3. I got error The chrome_style option cannot be used with manifest version 3.

I checked https://developer.chrome.com/extensions/migrating_to_manifest_v3 but it doesn't talk about this.

Any idea what it needs to be changed in my manifest here :-

//Manifest v2
"options_ui": {
        "chrome_style": true,
        "page": "options.html",
        "open_in_tab": false
},

Solution: As suggested, It's OK when I remove "chrome_style": true,

LeMoussel
  • 4,699
  • 10
  • 58
  • 112

2 Answers2

0

In the first paragraph of the question link, Manifest V3 migration guide which mentions the required changes while switching from Manifest version 2 to 3.

If you don't want to write the code manually, here is the Extension Manifest Converter you can check as mentioned in this answer

-1

Replace your code with:

// Manifest v3
{
  "options_page": "options.html"
}