Kocal / vue-web-extension

🛠️ A Vue CLI 3+ preset (previously a Vue CLI 2 boilerplate) for quickly starting a web extension with Vue, Babel, ESLint and more!
https://vue-web-extension.netlify.app/
MIT License
1.58k stars 167 forks source link

options_page warning in Firefox #636

Closed akkhil7 closed 4 years ago

akkhil7 commented 4 years ago

Describe the bug "options_page": "options/options.html", doesn't work on firefox anymore.

Warning details

Reading manifest: Warning processing options_page: An unexpected property was found in the WebExtension manifest.

To Reproduce Steps to reproduce the behavior:

Expected behavior

Solution Use "options_ui" instead - works in both Chrome and Firefox.

akkhil7 commented 4 years ago

I can open a PR. Would like to hear your thoughts first.

Kocal commented 4 years ago

Hi!

I'm not sure where your issue came from, or where do you want to open a PR.

The old Vue-CLI 2 boilerplate already use options_ui (see https://github.com/Kocal/vue-web-extension/blob/v1/template/src/manifest.json#L19), and the new Vue-CLI 3+ preset, which use vue-cli-plugin-browser-extension also use options_ui (see https://github.com/adambullmer/vue-cli-plugin-browser-extension/blob/master/generator/template/base-app/src/manifest.json)

What's your manifest.json looks like?

akkhil7 commented 4 years ago

Hi @Kocal,

I am so sorry, Hugo. I just looked up the commit history for my extension. And seems like it changed to options_page at some point by accident. My bad.

I am closing this issue. Thank you for prompt reply 👍 :)

Kudos to this great boilerplate, by the way. Thanks a bunch!

Cheers!

Kocal commented 4 years ago

Don't worry, it can happens to everyone 😝

Have a good weekend! :)