fregante / browser-extension-template

📕 Barebones boilerplate with Parcel 2, options handler and auto-publishing
788 stars 76 forks source link

Unrecognized manifest key 'applications'. #58

Closed lyqht closed 2 years ago

lyqht commented 2 years ago

Hello, I've found this template github repository through the MDN Web Docs :)

When I tried generating a project and viewing it under "Load Unpacked" under the Google Chrome extensions, I see the following error

image

fregante commented 2 years ago

Yes it's expected. That's Firefox-specific so Chrome doesn't know it. You can ignore it, it's not an error.

Osiris-Team commented 1 year ago

@fregante Have a similar issue, but I think it prevents the extension from getting enabled: image

image

Unrecognized manifest key 'browser_specific_settings'.

{"name":"Awesome Extension","version":"0.0.0","description":"An awesome new browser extension","homepage_url":"https://github.com/fregante/browser-extension-template","manifest_version":3,"minimum_chrome_version":"100","browser_specific_settings":{"gecko":{"id":"awesome-extension@notlmn.github.io","strict_min_version":"100.0"}},"icons":{"128":"icon.082f75ba.png"},"permissions":["storage"],"host_permissions":["https://github.com/*"],"content_scripts":[{"matches":["https://chat.openai.com/c/*"],"js":["content.70a01fb4.js"],"css":["content.699ca3cc.css"],"run_at":"document_end"}],"options_ui":{"browser_style":true,"page":"options.e17f98f3.html"},"background":{"service_worker":"background.a054f291.js","type":"module"}}
fregante commented 1 year ago

The extension is enabled in your screenshot. Again, it's just a warning and it can be ignored. The toolbar icon is gray for unrelated reasons (regular extension behavior)