Google chrome extension 如何为Chrome扩展设置权限和内容安全策略
我正在尝试批准我的Chrome扩展,并希望了解如何正确填写manifest.json的“permissions”和“csp”部分。这些部分如下:Google chrome extension 如何为Chrome扩展设置权限和内容安全策略,google-chrome-extension,permissions,manifest,content-security-policy,Google Chrome Extension,Permissions,Manifest,Content Security Policy,我正在尝试批准我的Chrome扩展,并希望了解如何正确填写manifest.json的“permissions”和“csp”部分。这些部分如下: ... "permissions": [ "storage", "http://api.openweathermap.org/data/2.5/weather*" ], "content_security_policy": "de
...
"permissions": [
"storage",
"http://api.openweathermap.org/data/2.5/weather*"
],
"content_security_policy": "default-src 'self' http://api.openweathermap.org/data/2.5/weather*; script-src 'self'"
...
这被拒绝了
我只使用: