网页截屏工具
页面右键选项,选择截图方式进行截图
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "网页截屏工具",
"description": "页面右键选项,选择截图方式进行截图",
"version": "1.2",
"manifest_version": 3,
"permissions": [
"contextMenus",
"nativeMessaging"
],
"action": {
"default_title": "网页截屏工具",
"default_icon": "icon.png"
},
"content_scripts": [
{
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"./utils/screenShotPlugin.umd.js",
"./utils/content.js",
"./screenShot.js"
]
}
],
"background": {
"service_worker": "background.js"
}
}