Skip to main content
Question

Incorrect documentation for network access in plugin manifest


Eli_Crow

In the intro paragraph, the example given for the plugin manifest is invalid. The valid value for “allowedDomains” is ["none"], not "none". Additionally, "devAllowedDomains" cannot be set to "none" as validation complains that “none” is not a valid url.

{
  "name": "MyPlugin",
  "id": "737805260747778092",
  "api": "1.0.0",
  "main": "code.js",
  "ui": "ui.html",
  "documentAccess": "dynamic-page",
  "networkAccess": {
    "allowedDomains": "none",
    "devAllowedDomains": "none"
  }
}
This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings