我已使用 Converter Toolkit 将我的 Chrome 扩展程序转换为 Edge。扩展在 Edge 中正确加载和更改页面,但是工具栏中的页面操作按钮不可用。正如其他人指出的那样,我添加了 20px 图像,但这并没有做任何事情。关于如何让按钮和弹出窗口工作的任何想法?
{
"author": "Me",
"background": {
"page": "background.html",
"persistent": true
},
"content_scripts": [
{
"css": [
"styles.css"
],
"js": [
"jquery.js",
"content.js"
],
"matches": [
"*://www.engadget.com/*"
]
}
],
"description": "Hide unwanted articles on Engadget.com",
"icons": {
"20": "icon_20.png",
"128": "icon_128.png"
},
"manifest_version": 2,
"name": "SanGadget",
"page_action": {
"default_title": "SanGadget Settings",
"default_popup": "popup.html",
"default_icon": {
"20": "icon_20.png"
}
},
"permissions": [
"storage",
"declarativeContent"
],
"version": "0.1.0",
"-ms-preload": {
"backgroundScript": "backgroundScriptsAPIBridge.js",
"contentScript": "contentScriptsAPIBridge.js"
}
}