目前正在学习chrome-extension的基础知识。 popup.html没有弹出...
{
"manifest_version": 2,
"name": "Lemufied!!!!!!!!!!",
"version": "1",
"permissions": ["tabs", "http://*/*", "background"],
"content_scripts": [{"matches": ["http://*/*"],"js": ["inject.js"]}],
"browser_action": {"default_icon": "16x16.png","popup": "popup.html"}
}
答案 0 :(得分:0)
对于版本2清单,您应该像这样定义 browser-action popup :
"browser_action": {
...
"default_popup": ...