Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webextension: add support for options_page key #10076

Open
fregante opened this issue Jan 22, 2025 · 0 comments
Open

webextension: add support for options_page key #10076

fregante opened this issue Jan 22, 2025 · 0 comments

Comments

@fregante
Copy link
Contributor

🙋 feature request

Chrome supports two keys to specify the options page:

  • options_ui
  • options_page

MDN reports that options_page is deprecated and so does Parcel's schema:

// options_page is deprecated

However that doesn't reflect reality, Chrome does not deem the key deprecated in their docs and even Firefox eventually added support for it: https://bugzilla.mozilla.org/show_bug.cgi?id=1816960

You can find further reasoning in the bugzilla.

🤔 Expected Behavior

options_page should be equivalent to options_ui.page

😯 Current Behavior

The key is ignored and the specified options.html is not processed.

💻 manifest.json demo

{
	"$schema": "https://json.schemastore.org/chrome-manifest",
	"name": "options_page minimal extension",
	"version": "0.0.0",
	"manifest_version": 3,
	"options_page": "options.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant