Skip to content

Instantly share code, notes, and snippets.

@r9thealien-dev
Created November 29, 2025 09:39
Show Gist options
  • Select an option

  • Save r9thealien-dev/ed60644e2f879fabc1a4249ab7492333 to your computer and use it in GitHub Desktop.

Select an option

Save r9thealien-dev/ed60644e2f879fabc1a4249ab7492333 to your computer and use it in GitHub Desktop.
privacy policy md for chrome extension

Privacy Policy

Last Updated: November 29, 2025

The "Xiaohongshu Clipper" Chrome Extension (hereinafter referred to as "this Extension") is designed to help users quickly save data from xiaohongshu.com to their own local desktop application. This Privacy Policy explains how this Extension collects, uses, and processes information.


1. Core Principle: Data Localization

We hereby explicitly declare:

This Extension is a purely client-side tool designed to help users send data directly from their browser to their own local desktop application.

  • We Do Not Collect: We do not collect, store, track, or transmit any of your Personally Identifiable Information (PII).
  • We Do Not Upload: We will never upload your browsing content, cookies, or any personal data to our servers or any third-party remote servers.
  • We Do Not Monitor: We do not monitor your browsing history. This Extension only runs on your currently active tab when you explicitly click on it.

2. What Information Do We Process?

This Extension only temporarily processes the following information when fulfilling its core functionality (i.e., "clipping"):

  • Page Content: When you actively click the Extension icon on a Xiaohongshu (xiaohongshu.com) note page, this Extension uses scripts to read the publicly visible content of that page (such as title, note text, image URLs, video URLs).
  • Media Files: For blob: type videos, the Extension may fetch the binary data of that file within the browser for local transmission.
  • User Preferences: The Extension uses browser local storage (chrome.storage) to save your preference settings (such as image count limits). This data is stored only in your browser locally and is never uploaded to any server.

3. How Is Data Used and Transmitted? (Important)

This is the core workflow of this Extension, and our commitment to your privacy:

  1. Data Is Processed Locally: All the "Page Content" and "Media Files" read above are only temporarily processed in your browser's memory.
  2. Data Transmission: When you perform a clipping operation, this data will be sent only to a local server address running on your own computer (e.g., http://localhost:PORT or http://127.0.0.1:PORT).
  3. Purpose: The sole purpose of this transmission is to transfer data from the browser to the companion local desktop application, so that it can be saved to your own local database.

To reiterate: The data transmission path is [Your Browser] -> [Your Local Computer Application]. No data ever leaves your personal device, and the developer cannot access this data.

4. Permission Justification

The permissions requested by this Extension in manifest.json are used solely to implement the above functionality:

  • activeTab: Allows the Extension to access the currently active tab when you click the icon. This embodies the principle of least privilege—the Extension can only access the page you are viewing, not all tabs.
  • scripting: Allows the Extension to inject scripts into the current page to read the page's DOM content (such as post titles, images, etc.).
  • storage: Allows the Extension to store your preference settings (such as image count limits) locally in the browser. This data is stored only on your device.
  • host_permissions (xiaohongshu.com): Allows the Extension's content scripts to run on the Xiaohongshu website to parse page content. This is required to implement the clipping functionality.
  • host_permissions (localhost / 127.0.0.1): Allows the Extension to send data to a desktop application running locally on your computer. This is required to implement local communication. Please note that these addresses point to services on your own computer, not remote servers on the internet.

5. Changes to This Privacy Policy

We may update this Privacy Policy from time to time. Any changes will be posted on this page. We encourage you to review it periodically to stay informed.

6. Contact

If you have any questions about this Privacy Policy, please contact me at:


隐私政策 (Privacy Policy)

最后更新日期: 2025年11月29日

“小红书剪藏助手”Chrome 插件(以下简称“本插件”)用于帮助用户将 xiaohongshu.com 的数据从浏览器快速保存到用户自己的本地桌面应用中。本隐私政策旨在说明本插件如何收集、使用和处理信息。


1. 核心原则:数据本地化

我们在此明确声明:

本插件是一个纯客户端工具,其设计目的是帮助用户将数据从浏览器直接发送到用户自己的本地桌面应用中。

  • 我们不收集: 我们不会收集、存储、跟踪或传输您的任何个人身份信息(PII)。
  • 我们不上传: 我们绝不会将您浏览的页面内容、Cookie 或任何个人数据上传到我们的、或任何第三方的远程服务器。
  • 我们不监控: 我们不会监控您的浏览历史。本插件仅在您主动点击时,在您当前的激活标签页上运行。

2. 我们处理什么信息?

本插件只在满足其核心功能(即"剪藏")时,才会临时处理以下信息:

  • 页面内容 (Page Content): 当您在小红书(xiaohongshu.com)的笔记页面上主动点击插件图标时,本插件会使用脚本读取该页面的公开可见内容(如标题、笔记正文、图片 URL、视频 URL)。
  • 媒体文件 (Media Files): 对于 blob: 类型的视频,插件可能会在浏览器内部获取该文件的二进制数据,以便进行本地传输。
  • 用户偏好设置 (User Preferences): 插件会使用浏览器的本地存储 (chrome.storage) 保存您的偏好设置(如图片数量限制),这些数据仅存储在您的浏览器本地,不会上传到任何服务器。

3. 数据如何被使用和传输?(重要)

这是本插件的核心工作流程,也是我们对您隐私的承诺:

  1. 数据在本地处理: 上述所有被读取的"页面内容"和"媒体文件",都只在您的浏览器内存中进行临时处理。
  2. 数据传输: 当您执行剪藏操作时,这些数据将仅被发送到运行在您自己电脑上的一个本地服务器地址(例如 http://localhost:PORThttp://127.0.0.1:PORT)。
  3. 目的: 此传输的唯一目的,是将浏览器中的数据传输给和本插件配套的本地桌面应用程序,以便保存到您自己的本地数据库中。

再次强调: 数据传输路径是 [您的浏览器] -> [您的本地电脑应用]。任何数据都不会离开您的个人设备,开发者无法访问这些数据。

4. 权限说明 (Permission Justification)

本插件在 manifest.json 中申请的权限仅用于实现上述功能:

  • activeTab 允许插件在您点击图标时,访问当前激活的标签页。这是最小权限原则的体现——插件只能访问您正在查看的页面,而非所有标签页。
  • scripting 允许插件向当前页面注入脚本,以读取页面的 DOM 内容(如帖子标题、图片等)。
  • storage 允许插件在浏览器本地存储您的偏好设置(如图片数量限制)。这些数据仅存储在您的设备上。
  • host_permissions (xiaohongshu.com): 允许插件的内容脚本在小红书网站上运行,以便解析页面内容。这是实现剪藏功能所必需的。
  • host_permissions (localhost / 127.0.0.1): 允许插件向您本地运行的桌面应用发送数据。这是实现本地通信所必需的。 请注意,这些地址指向的是您自己电脑上的服务,而非互联网上的远程服务器。

5. 隐私政策的变更

我们可能会不时更新本隐私政策。任何变更都将发布在此页面上。我们鼓励您定期查看以了解最新信息。

6. 联系作者

如果您对本隐私政策有任何疑问,请通过以下方式联系我:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment