我为 chrome 创建了一个自定义扩展,它安装成功,效果很好,但我在右上角的选项菜单中没有看到它?
我是否需要在 中包含其他内容manifest.json
,或者我是否必须编写更多需要显示的内容,因为我没有任何选项,它只是一个转换为扩展的 Tampermonkey 脚本。
manifest.json
:
{
"manifest_version": 2,
"name": "Name..",
"version": "0.7..",
"description": "Desc..",
"icons": {
"128": "icon_128.png"
},
"author": "...",
"content_scripts": [{
"exclude_globs": [],
"include_globs": ["*"],
"js": ["jquery-3.1.1.min.js", "myScript.user.js"],
"matches": ["https://example.com/*"],
"run_at": "document_start"
}],
"converted_from_user_script": true
}