admin管理员组文章数量:1325531
When trying to load the chrome extension in mozilla firefox. I have error:
Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
{
"name": "EXTENSION",
"options_page": "options.html",
"background": {
"page": "background.html"
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": "icon-34.png"
},
"mands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+A"
}
}
},
"icons": {
"128": "icon-128.png"
},
"permissions": [
"https://*/",
"http://*/"
],
"version": "1.0",
"manifest_version": 2,
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}
When trying to load the chrome extension in mozilla firefox. I have error:
Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.
{
"name": "EXTENSION",
"options_page": "options.html",
"background": {
"page": "background.html"
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": "icon-34.png"
},
"mands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+A"
}
}
},
"icons": {
"128": "icon-128.png"
},
"permissions": [
"https://*/",
"http://*/"
],
"version": "1.0",
"manifest_version": 2,
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}
Share
Improve this question
asked Sep 3, 2019 at 9:55
UmbroUmbro
2,20412 gold badges46 silver badges107 bronze badges
3
- I think options_page may be depreciated, try options_ui developer.mozilla/en-US/docs/Mozilla/Add-ons/WebExtensions/… – Tom Berghuis Commented Sep 3, 2019 at 10:00
-
@TomBerghuis When I add: "options_ui": "options.html", I have error:
Extension is invalid Reading manifest: Error processing options_ui: Expected object instead of "options.html"
– Umbro Commented Sep 3, 2019 at 10:03 - 1 "options_ui": { "page": "options.html" } – Tom Berghuis Commented Sep 3, 2019 at 10:07
1 Answer
Reset to default 8"This manifest key has been deprecated. Use options_ui instead."
"options_ui": {
"page": "options.html",
"open_in_tab": false
},
references:
https://developer.mozilla/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui
https://developer.chrome./extensions/options
本文标签:
版权声明:本文标题:javascript - Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension - Stack Overf 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742194742a2430869.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论