我想使用 Angular 2 构建 Edge 扩展。在构建应用程序并使用 Microsoft Edge Extension Toolkit 更改 Manifest.json 后,我将应用程序上传到 Edge 中。如果我想使用扩展应用程序不会加载组件。
我的清单.json:
{
"manifest_version": 2,
"name": "Addon",
"short_name": "Addon",
"description": "Addon",
"version": "1.0.0",
"author": "asd",
"icons": {
"1": "favicon.ico"
},
"browser_action": {
"default_title": "Open a new tab to view your bookmarks.",
"default_popup": "index.html",
"default_icon": {
"1": "favicon.ico"
}
},
"permissions": [
"tabs",
"<all_urls>",
"fontSettings"
],
"background": {
"page": "index.html",
"persistent": false
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"-ms-preload": {
"backgroundScript": "backgroundScriptsAPIBridge.js",
"contentScript": "contentScriptsAPIBridge.js"
}
}
是否有任何不受支持或缺失的清单密钥?