图片另存为JPG/PNG/WebP 的评价
图片另存为JPG/PNG/WebP 作者: D7OM
D7OM 的回应
开发者回应
发布于 1 个月前Fair concern, permission prompts should never be silent surprises. Fully on me for not flagging it in the changelog.
Context: v1.3.0 added a "Copy image to clipboard" context-menu item (commit 2f9a5ec, P) to close issue #4. The
extension is open-source so the full diff is public. The actual clipboard code only writes an image — it never reads:
// src/offscreen/offscreen.js
const clipboardItem = new ClipboardItem({ [mimeType]: blob });
await navigator.clipboard.write([clipboardItem]);
Search the repo for clipboard.read or readText, you won't find a single call. The clipboardRead permission in the manifest was a mistake on my part (copy-pasted
alongside clipboardWrite) and was never used by any code path.
Since the feature is also unreliable on Firefox and is making people reasonably uneasy, I'm removing it entirely in the next release, both the feature and both clipboard permissions. The next version will ask for strictly fewer permissions than before. Sorry for the scare.
Context: v1.3.0 added a "Copy image to clipboard" context-menu item (commit 2f9a5ec, P) to close issue #4. The
extension is open-source so the full diff is public. The actual clipboard code only writes an image — it never reads:
// src/offscreen/offscreen.js
const clipboardItem = new ClipboardItem({ [mimeType]: blob });
await navigator.clipboard.write([clipboardItem]);
Search the repo for clipboard.read or readText, you won't find a single call. The clipboardRead permission in the manifest was a mistake on my part (copy-pasted
alongside clipboardWrite) and was never used by any code path.
Since the feature is also unreliable on Firefox and is making people reasonably uneasy, I'm removing it entirely in the next release, both the feature and both clipboard permissions. The next version will ask for strictly fewer permissions than before. Sorry for the scare.