{ "manifest_version": 3, "name": "图片搜索", "description": "Base Level Extension", "version": "1.0", "content_scripts": [ { "matches": [ "" ], // 这里表示注入到所有网页中 "js": [ "content.js" ], // 注入的脚本文件 "run_at": "document_end" // 在页面加载完成后执行脚本 } ], "icons": { "16": "icon.png" }, "background": { "service_worker": "background.js" }, "permissions": [ "contextMenus" ] }