好吧,我是JS的菜鸟,我可以承认。我一直在阅读和学习如何为铬做扩展。所以我想有一个内容脚本和浏览器操作,但我无法让它为我的生活运行。可能是我做错了什么蠢事,但任何帮助都是值得感激的。
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "*********",
"version": "0.3",
"description": "*****************************",
"icons": { "16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png" },
"browser_action": {
"default_icon": {
"19": "icons/19x19.png",
"38": "icons/38x38.png"
},
"default_title": "That's the tool tip",
"default_popup": "popup.html"
}
"content_scripts":
[
{
"matches": ["*://*/*"],
"js": ["content.js"],
"run_at": "document_end"
}
]
}发布于 2015-12-09 15:18:26
我不能写评论,
也许这里缺少一个逗号
"default_popup": "popup.html"
}, <-- HERE!!
"content_scripts": https://stackoverflow.com/questions/34182226
复制相似问题