From 7008f369a50a2ce048bfe1ed570ec61702caafe6 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Fri, 2 Oct 2026 23:56:56 +0800 Subject: [PATCH] refactor(extension): shorten Xiaohongshu clip menu text --- apps/extension/FIREFOX_STORE_LISTING.md | 6 +++--- apps/extension/README.md | 2 +- apps/extension/STORE_LISTING.md | 2 +- apps/extension/options.html | 2 +- apps/extension/package.json | 2 +- apps/extension/public/_locales/en/messages.json | 6 +++--- apps/extension/public/_locales/ja/messages.json | 6 +++--- apps/extension/public/_locales/zh_CN/messages.json | 6 +++--- apps/extension/xhs-save.html | 4 ++-- bun.lock | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/extension/FIREFOX_STORE_LISTING.md b/apps/extension/FIREFOX_STORE_LISTING.md index ef9a7d9a..2beabb69 100644 --- a/apps/extension/FIREFOX_STORE_LISTING.md +++ b/apps/extension/FIREFOX_STORE_LISTING.md @@ -25,7 +25,7 @@ EdgeEver Web Clipper saves the current webpage, selected text, a right-clicked i - Send content directly to your instance without an EdgeEver-operated relay. - No advertising, analytics, tracking, or telemetry. -Before using the extension, enter your EdgeEver instance URL and API token in the extension settings. The extension reads and sends page content only after you click **Clip current page**, **Save selection to EdgeEver**, **Save image to EdgeEver**, **Save this post to EdgeEver**, **Save this Xiaohongshu note to EdgeEver**, **Save Zhihu content to EdgeEver**, or **Save this repository to EdgeEver**. +Before using the extension, enter your EdgeEver instance URL and API token in the extension settings. The extension reads and sends page content only after you click **Clip current page**, **Save selection to EdgeEver**, **Save image to EdgeEver**, **Save this post to EdgeEver**, **Save Xiaohongshu note to EdgeEver**, **Save Zhihu content to EdgeEver**, or **Save this repository to EdgeEver**. ## Data collection and transmission @@ -46,7 +46,7 @@ The project maintainers do not receive or retain this data. Instance settings ar 7. On a normal webpage, right-click an image, choose **Save image to EdgeEver**, and verify the new note contains the image. 8. Open one X post page, right-click the post text (not a photo), choose **Save this post to EdgeEver**, and verify the note contains the post text and the post link. 9. Open one GitHub repository page, right-click the description or README text, choose **Save this repository to EdgeEver**, and verify the note contains the repository address and description. -10. Open one Xiaohongshu note, right-click the note text (not a photo), choose **Save this Xiaohongshu note to EdgeEver**, and verify the note contains the title, text, and source link. +10. Open one Xiaohongshu note, right-click the note text (not a photo), choose **Save Xiaohongshu note to EdgeEver**, and verify the note contains the title, text, and source link. 11. Open one Zhihu answer or article, right-click the text (not a photo), choose **Save Zhihu content to EdgeEver**, and verify the note contains the title, text, and source link. 12. Verify the created notes in the review EdgeEver instance. @@ -85,4 +85,4 @@ EdgeEver 网页剪藏插件可将当前网页、选中的文字、右键选中 - 数据直接发送到用户自己的实例,不经过 EdgeEver 中转服务。 - 不包含广告、分析、追踪或遥测。 -使用前,请在插件设置中填写 EdgeEver 实例地址和 API Token。插件只会在用户点击“剪藏当前网页”,或选择“保存选中文字到 EdgeEver”“保存图片到 EdgeEver”“保存这条推文到 EdgeEver”“保存这篇小红书笔记到 EdgeEver”“保存知乎内容到 EdgeEver”后读取并发送网页内容。 +使用前,请在插件设置中填写 EdgeEver 实例地址和 API Token。插件只会在用户点击“剪藏当前网页”,或选择“保存选中文字到 EdgeEver”“保存图片到 EdgeEver”“保存这条推文到 EdgeEver”“保存小红书笔记到 EdgeEver”“保存知乎内容到 EdgeEver”后读取并发送网页内容。 diff --git a/apps/extension/README.md b/apps/extension/README.md index 21b81e3c..762fdf06 100644 --- a/apps/extension/README.md +++ b/apps/extension/README.md @@ -11,7 +11,7 @@ Chrome, Edge, and Firefox Manifest V3 extension for saving the current webpage, - Right-click an image and choose **Save image to EdgeEver**. The image file is uploaded into a new note in the default notebook, with the source page linked underneath. An image saved from Google Search records “Google Search” and the search keyword instead of the results URL. - Select text on a page, right-click, and choose **Save selection to EdgeEver**. That passage is saved as a new note in the default notebook, with the source page linked underneath. The rest of the page is not included. - On X, right-click the post text and choose **Save this post to EdgeEver**. The post text, author, time, and photos already shown in that post are saved into one note. Text folded behind Show more is expanded first, so a long post is saved in full. Right-clicking a photo saves that image instead, so the command stays on the top-level menu. A single-post page can be saved immediately. On a timeline, the extension asks once for access to X so it can remember the post under the pointer. -- On Xiaohongshu, right-click the note text and choose **Save this Xiaohongshu note to EdgeEver**. The title, text, author, time, location, and photos go into one note. Comments are left out. Right-clicking a photo saves that image instead. An open note can be saved immediately. On the feed, the extension asks once for access to Xiaohongshu so it can remember the note under the pointer; open that note before saving if its full text is not on the page. +- On Xiaohongshu, right-click the note text and choose **Save Xiaohongshu note to EdgeEver**. The title, text, author, time, location, and photos go into one note. Comments are left out. Right-clicking a photo saves that image instead. An open note can be saved immediately. On the feed, the extension asks once for access to Xiaohongshu so it can remember the note under the pointer; open that note before saving if its full text is not on the page. - On Zhihu, right-click the answer or article text and choose **Save Zhihu content to EdgeEver**. The title, author, full text, and photos go into one note. Comments are left out. Right-clicking a photo saves that image instead. An open answer or article can be saved immediately. On the home feed or a question page, the extension remembers the item under the pointer; if that listener is not running yet, right-click the same text once more. - On a GitHub repository page or code tree, right-click the page background, the description, or the README text and choose **Save this repository to EdgeEver**. The note keeps the repository address, the About text, and the homepage, language, license, and topics when the page shows them. An empty About falls back to the README's first paragraph. Issue, discussion, and single-file pages are left unsaved. The toolbar action uses the same card on those repository pages. Right-clicking a link or an image keeps the existing selection and image commands, so this one stays on the top-level menu. - When the page cannot hand over the image bytes, the extension asks once for access to that image's site. After that, later images from the same site save directly. diff --git a/apps/extension/STORE_LISTING.md b/apps/extension/STORE_LISTING.md index 8e7b48e3..da94cb5b 100644 --- a/apps/extension/STORE_LISTING.md +++ b/apps/extension/STORE_LISTING.md @@ -89,7 +89,7 @@ Save the current webpage, user-selected text, a user-chosen image, one X post, o ### Permission justifications -- `activeTab`: Read the active page only after the user clicks the extension's save action or chooses Save selection to EdgeEver, Save image to EdgeEver, Save this post to EdgeEver, Save this Xiaohongshu note to EdgeEver, Save Zhihu content to EdgeEver, or Save this repository to EdgeEver. +- `activeTab`: Read the active page only after the user clicks the extension's save action or chooses Save selection to EdgeEver, Save image to EdgeEver, Save this post to EdgeEver, Save Xiaohongshu note to EdgeEver, Save Zhihu content to EdgeEver, or Save this repository to EdgeEver. - `contextMenus`: Add one top-level item for the thing the user right-clicked: selected text, an image, an X post, a Xiaohongshu note, a Zhihu answer or article, or a GitHub repository page. It runs only after the user selects that item. - `scripting`: Inject the packaged capture script into the active page after the user initiates a capture. - `storage`: Store the user's EdgeEver instance URL, API token, and default notebook ID locally. diff --git a/apps/extension/options.html b/apps/extension/options.html index fde7e7a3..7da62cb3 100644 --- a/apps/extension/options.html +++ b/apps/extension/options.html @@ -12,7 +12,7 @@

Select text on a page, right-click, and choose “Save selection to EdgeEver”. It is saved as a new note in the default notebook selected below.

On X, right-click a post and choose “Save this post to EdgeEver”. The visible text and photos go into one new note in the same notebook.

On a GitHub repository page or code tree, right-click the page background, the description, or the README text and choose “Save this repository to EdgeEver”. The address and description are saved as a new note in the default notebook selected above.

-

On Xiaohongshu, right-click the note text and choose “Save this Xiaohongshu note to EdgeEver”. The title, text, and photos go into one new note. Comments are left out.

+

On Xiaohongshu, right-click the note text and choose “Save Xiaohongshu note to EdgeEver”. The title, text, and photos go into one new note. Comments are left out.

On Zhihu, right-click the answer or article text and choose “Save Zhihu content to EdgeEver”. The title, author, text, and photos go into one new note. Comments are left out.