启用了chrome:// URL上的扩展名。我的扩展名可以在其他“ chrome://”页面上使用,但可以在“ chrome:// dino”页面上使用。
这是我的manifest.json
{
"manifest_version": 2,
"name": "dino-cxk",
"version": "1.0.0",
"description": "***",
"icons":
{
"16": "img/icon.png",
"48": "img/icon.png",
"128": "img/icon.png"
},
"browser_action":
{
"default_icon": "img/icon.png",
"default_title": "dino-cxk",
"default_popup": "popup.html"
},
"permissions":[
"tabs","chrome://*/*"
],
"content_scripts":
[
{
"matches": ["chrome://*/*"],
"js": ["js/jquery-341.js", "js/cusscript.js"]
}
]
}