我是Chrome扩展程序的新手,我正在尝试调试。在chrome:// extensions中,我检查了Developer Mode。但是,我无法在自定义Chrome扩展程序上使用“检查弹出窗口”按钮。这很不寻常,因为我可以使用浏览器上其他chrome扩展的“inspect popup”进行调试。
有谁知道为什么会这样?
有没有工作?
Heres a screenshot of the "inspect popup"
这是Manifest.json:
{
"name" : "Test",
"version" : "0.1.0",
"description" : "get some more images from span data-original, div css
computed",
"permissions": ["contextMenus","tabs","activeTab","<all_urls>"],
"background": {
"scripts": ["/dev/js/background.js"]
},
"content_scripts":[
{
"matches": ["<all_urls>"],
"js":["/dev/js/content_scripts.js"],
"all_frames": false
}],
"web_accessible_resources":[
"/dev/view/frame.html",
"dev/view/grid.html",
"dev/view/grid.css",
"dev/view/grid_masonry.css",
"dev/view/masonry.pkgd.js",
"dev/view/url",
"dev/js/grid_masonry.js",
"dev/view/add.html/*",
"https://*/*"
],
"browser_action": {
"default_title":"Add to DB"
}
}
谢谢!