自动压缩设计搞(蓝湖,figma,mastergo)上的图片,并上传图床

Latest Version

Version
0.1.10
Update
June 6, 2024
Size
2.15MiB
Developer
Category
Users
104
Rating
3.66667 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
Scripting
See more

Image Compress Extension

再不怕设计稿图片没压缩了。实现了图片自动拦截压缩,还能上传图床,直接获取cdn地址,无需下载图片

压缩服务
- 内置程序,支持png,jpeg,webp(高质量速度快,可达80%的压缩率)
- TinyPNG

设计稿支持
- 蓝湖
- mastergo
- figma
- 即时设计
- Pixso
- InVision

图床支持

- 阿里oss
- 七牛云
- smms
- 又拍云
- 自定义web图床

高级复制

- 可以拿图片cdn地址进行自定义css代码复制
- 支持倍图
Read more

Source Manifest.json

{
"update_url": "https://clients2.google.com/service/update2/crx",
"icons":{"16":"icon16.plasmo.6c567d50.png",
"32":"icon32.plasmo.76b92899.png",
"48":"icon48.plasmo.aced7582.png",
"64":"icon64.plasmo.8bb5e6e0.png",
"128":"icon128.plasmo.3c1ed2d2.png"},
"manifest_version":3,
"action":{"default_icon":{"16":"icon16.plasmo.6c567d50.png",
"32":"icon32.plasmo.76b92899.png",
"48":"icon48.plasmo.aced7582.png",
"64":"icon64.plasmo.8bb5e6e0.png",
"128":"icon128.plasmo.3c1ed2d2.png"},
"default_popup":"popup.html"},
"version":"0.1.10",
"author":"[email protected]",
"name":"Image Compress",
"description":"\u81ea\u52a8\u538b\u7f29\u8bbe\u8ba1\u641e\uff08\u84dd\u6e56\uff0cfigma\uff0cmastergo\uff09\u4e0a\u7684\u56fe\u7247\uff0c\u5e76\u4e0a\u4f20\u56fe\u5e8a",
"background":{"service_worker":"static/background/index.js"},
"options_ui":{"page":"options.html",
"open_in_tab":true},
"permissions":["storage",
"scripting"],
"content_scripts":[{"matches":[""],
"js":["runtime.8b57e272.js"],
"run_at":"document_end",
"css":["style.4feb4bbd.css"]},{"matches":["https://lanhuapp.com/*",
"https://*.figma.com/*",
"https://mastergo.com/*",
"*://mastergo.netease.com/*",
"https://js.design/*",
"https://dt.mockplus.cn/*",
"https://pixso.cn/*",
"https://*.invisionapp.com/*"],
"js":["ui.242912c4.js"],
"run_at":"document_idle",
"css":[]}],
"host_permissions":["https://lanhuapp.com/*",
"https://*.figma.com/*",
"https://mastergo.com/*",
"*://mastergo.netease.com/*",
"https://js.design/*",
"https://dt.mockplus.cn/*",
"https://pixso.cn/*",
"https://*.invisionapp.com/*"],
"web_accessible_resources":[{"resources":["sandbox.html"],
"matches":[""]},{"matches":["https://lanhuapp.com/*",
"https://*.figma.com/*",
"https://mastergo.com/*",
"*://mastergo.netease.com/*",
"https://js.design/*",
"https://dt.mockplus.cn/*",
"https://pixso.cn/*",
"https://*.invisionapp.com/*"],
"resources":["ui.6c2c11ab.css",
"ui.caf0357c.css"]}],
"content_security_policy":{"sandbox":"sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-eval' 'wasm-unsafe-eval';worker-src 'self' data:"},
"sandbox":{"pages":["sandbox.html"]}}
Read more