Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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"
  },
  "commands": {
    "_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'"
}
like image 560
Umbro Avatar asked Sep 03 '19 09:09

Umbro


1 Answers

"This manifest key has been deprecated. Use options_ui instead."

 "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },

references:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/options_ui

https://developer.chrome.com/extensions/options

like image 150
aerth Avatar answered Nov 15 '22 05:11

aerth