一键将网页内容转发到里屋论坛(253874.net)的浏览器扩展。 One-click browser extension to forward web content to the 253874.net forum.
当前代码版本为 0.3.5,待提交 Chrome Web Store;上一商店发布版本为 0.3.4。代码版本号以 manifest.json 为准,详见 更新日志。
The current code version is 0.3.5, pending Chrome Web Store submission; the previous store release is 0.3.4. See the changelog.
| 功能 | 说明 |
|---|---|
| 🎬 视频转发 | 支持 Bilibili 和 YouTube 视频一键转发,自动生成 embed 嵌入代码 |
| Support Bilibili & YouTube video forwarding with auto-generated embed codes | |
| 🔍 智能提取 | 自动识别网页正文,保留段落、图片和列表格式 |
| Automatically detects article body, preserves paragraphs, images, and lists | |
| ✂️ 选中转发 | 支持手动选中部分内容进行精准转发 |
| Select specific content on the page for precise forwarding | |
| 🌐 站点适配 | 腾讯新闻、知乎、新浪、搜狐等自动优化格式 |
| Auto-optimized formatting for Tencent News, Zhihu, Sina, Sohu, etc. | |
| 新闻分类 | 转发新浪、搜狐和腾讯新闻时,自动选定“新闻”分类(type_id=5) |
Automatically select the News category (type_id=5) for Sina, Sohu, and Tencent news |
|
| 搜狐链接清理 | 优先采用页面声明的规范链接,移除查询参数和片段标识,填入“相关链接” |
| Prefer the page-declared canonical URL for Sohu and remove query parameters and fragments from the related link | |
| 📝 自动填充 | 一键填充论坛发帖表单,无需手动复制粘贴 |
| One-click auto-fill of forum post form — no manual copy-paste needed | |
| ⚙️ 灵活设置 | 可自定义标题是否带来源标签(【知乎】【新闻】等) |
| Customize whether titles include source tags like [Zhihu] or [News] |
支持的视频平台:
| 平台 | 识别方式 | 生成代码 |
|---|---|---|
| Bilibili | 自动识别 URL 中的 BV 号 | <embed> 标签嵌入播放器 |
| YouTube | 自动识别 URL 中的 v= 参数 | <embed> 标签嵌入播放器 |
使用方式:
🎉 Chrome 网上应用店审核已通过!现已正式上线!
# 从 GitHub 下载 / Download from GitHub
git clone https://github.com/Liwu253874/forum-clipper-253874.git
chrome://extensions/chrome://extensions/┌─────────────────────────────────────────────────────┐
│ 1. 打开任意网页 / Open any webpage │
│ (新闻、知乎回答、博客、视频等) │
│ (News, Zhihu answers, blogs, videos, etc.) │
└──────────────────────┬──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 2. 右键点击页面 / Right-click on the page │
│ (或选中部分内容 / Or select specific content) │
└──────────────────────┬──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 3. 选择菜单项 / Select menu item │
│ "转发到 253874(填充发帖页)" │
│ "Forward to 253874 (Fill Post Page)" │
└──────────────────────┬──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 4. 自动跳转论坛发帖页 / Auto-redirect to forum post │
│ 标题、内容、图片已自动填充 │
│ Title, content, and images are auto-filled │
└──────────────────────┬──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────┐
│ 5. 确认无误后点击发帖 / Review and submit the post │
└─────────────────────────────────────────────────────┘
| 选项 / Option | 说明 / Description | 默认值 / Default |
|---|---|---|
| 标题带来源标签 / Title Source Tags | 开启后标题自动添加【知乎】【新闻】等来源标识 | ✅ 开启 / Enabled |
| When enabled, titles automatically include source tags like [Zhihu] or [News] |
提示 / Tip: 设置存储在
chrome.storage.sync,支持跨设备同步,修改后即时生效。 Settings are stored inchrome.storage.syncwith cross-device sync. Changes take effect immediately.
| 网站 / Site | 状态 / Status | 特性 / Features |
|---|---|---|
| Bilibili 视频 | ✅ 完美支持 | 自动识别 BV 号,生成 embed 播放器,选择”视频”分类 |
| Auto-detect BV number, generate embed player, select “Video” category | ||
| YouTube 视频 | ✅ 完美支持 | 自动识别视频 ID,生成 embed 播放器,选择”视频”分类 |
| Auto-detect video ID, generate embed player, select “Video” category | ||
| 知乎 / Zhihu | ✅ 完美支持 | 精确提取当前回答、作者信息、多回答页面定位 |
| Precise extraction of current answer, author info, multi-answer page targeting | ||
| 腾讯新闻 / Tencent News | ✅ 完美支持 | 自动去除后缀、图片兼容处理、选定“新闻”分类(type_id=5) |
Auto-remove suffixes, image compatibility handling, select News (type_id=5) |
||
| 新浪新闻 / Sina News | ✅ 支持 | 标准文章提取、选定“新闻”分类(type_id=5) |
Standard article extraction, select News (type_id=5) |
||
| 搜狐新闻 / Sohu News | ✅ 支持 | 标准文章提取、清理相关链接、选定“新闻”分类(type_id=5) |
Standard article extraction, clean related links, select News (type_id=5) |
||
| 其他网页 / Other Websites | ✅ 通用支持 | 基于 Readability 的通用全文提取 |
| General full-text extraction based on Readability |
forum_clipper/
├── manifest.json # 扩展配置(Manifest V3)/ Extension config
├── background.js # 后台服务(右键菜单管理)/ Background service (context menu)
├── content.js # 内容提取核心逻辑 / Core content extraction logic
├── Readability.js # Mozilla Readability 库 / Mozilla Readability library
├── settings.html # 设置页面 / Settings page
├── settings.js # 设置页逻辑 / Settings page logic
├── icons/ # 扩展图标 / Extension icons
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
└── README.md # 说明文档 / This documentation
| 项目 / Item | 说明 / Description |
|---|---|
| 🚫 不收集个人信息 / No Personal Data Collection | 我们不会收集、存储或传输任何个人信息 |
| We do not collect, store, or transmit any personal information | |
| 🚫 不上传浏览数据 / No Browsing Data Upload | 您的浏览历史和网页数据仅在本机处理 |
| Your browsing history and web data are processed only locally | |
| ✅ 本地处理 / Local Processing | 所有内容提取和格式转换均在浏览器本地完成 |
| All content extraction and format conversion happen locally in the browser | |
| 🔐 按需访问 / On-Demand Access | 仅在您主动点击转发时才会访问当前页面内容 |
| 📄 完整隐私政策 / Full Privacy Policy | 查看隐私政策 |
| Current page content is only accessed when you actively click to forward |
git clone https://github.com/Liwu253874/forum-clipper-253874.git
cd forum-clipper-253874
chrome://extensions/chrome://extensions/| 分支 | 用途 |
|---|---|
| master | 开发/测试分支,新功能先推到这里验证 |
| main | 稳定分支,测试通过后才合并 |
node --test tests/source-position.test.cjs.? 查询参数和 # 片段;页面未提供规范链接时,清理当前页面地址。仅删除参数不会将 /xtopic/ 自动转换为 /a/,实际文章地址取决于页面提供的元数据。/xtopic/ URL to an /a/ article URL.type_id=5,兼容下拉框和输入字段。type_id=5, supporting select and input fields.tabs、未使用的 scripting 和独立的 host_permissions 声明;保留 contextMenus、storage。声明式内容脚本仍匹配 <all_urls>,以支持用户在不同网页发起转发。tabs, unused scripting, and the separate host_permissions declaration. Retains contextMenus, storage, and declarative content scripts matching <all_urls> for forwarding from different websites.历史记录中的 v0.4.0 是旧文档标记,保留供追溯;当前发布版本以
manifest.json的 0.3.4 为准。 The historical v0.4.0 heading below is an older documentation label retained for reference; the current release version is 0.3.4 inmanifest.json.
新增功能 / New Features:
新增功能 / New Features:
新增功能 / New Features:
改进 / Improvements:
chrome.storage.sync,支持跨设备同步
chrome.storage.sync with cross-device sync初始版本 / Initial Release:
| 渠道 / Channel | 链接 / Link |
|---|---|
| 🐛 GitHub Issues | https://github.com/Liwu253874/forum-clipper-253874/issues |
| 💬 论坛讨论 / Forum Discussion | https://www.253874.net/ |
| 📧 项目地址 / Project | https://github.com/Liwu253874/forum-clipper-253874 |
MIT License — 自由使用、修改、分发 / Free to use, modify, and distribute.
Made with ❤️ for the 253874.net community