微博图床
微博图床,支持选择、拖拽、粘贴、网页右键上传图片,并生成图片地址,支持浏览和删除历史记录,支持同步上传记录
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "__MSG_ext_name__",
"version": "6.0.2",
"default_locale": "zh_CN",
"description": "__MSG_ext_desc__",
"icons": {
"32": "icons/32.png",
"64": "icons/64.png",
"128": "icons/128.png"
},
"action": {
"default_title": "__MSG_ext_name__"
},
"background": {
"service_worker": "scripts/background.js",
"type": "module"
},
"content_scripts": [
{
"all_frames": true,
"match_about_blank": true,
"js": [
"scripts/inject.js"
],
"css": [
"sheets/inject.css"
],
"matches": [
"<all_urls>"
],
"run_at": "document_start"
}
],
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+Shift+W"
}
},
"execute_pointer_events": {
"suggested_key": {
"default": "Alt+Shift+T"
},
"description": "置顶页面中的视频和图片"
}
},
"homepage_url": "https://github.com/Semibold/Weibo-Picture-Store",
"minimum_chrome_version": "110",
"options_ui": {
"page": "options.html"
},
"permissions": [
"clipboardWrite",
"downloads",
"contextMenus",
"notifications",
"storage",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"*://*.weibo.cn/*",
"*://*.weibo.com/*",
"*://*.sina.com.cn/*",
"*://*.sinaimg.cn/*"
],
"optional_host_permissions": [
"*://*/*"
],
"web_accessible_resources": [
{
"resources": [
"scripts/*"
],
"matches": [
"*://*/*"
]
}
]
}