WebLinkSniffer is a powerful browser extension & userscript that helps you extract and manage all hyperlinks from any webpage in seconds.
Perfect for:
- 📚 Researchers - Collect reference links efficiently
- 🕵️ SEO Analysts - Audit page links quickly
- 💻 Developers - Extract documentation links
- 📖 Content Curators - Build link collections effortlessly
| 🎯 Feature | 💡 How It Helps |
|---|---|
| ⚡ One-Click Extraction | Grab all links instantly, no manual copying |
| 🧹 Smart Deduplication | Removes duplicates & merges anchor variants automatically |
| 📄 Smart Pagination | View 5 links per page - no overwhelming scroll |
| 🛡️ Advanced Filtering | Block domains, keywords, or regex patterns |
| ☑️ Batch Operations | Open/copy/block multiple links at once |
| 🔍 Real-Time Search | Find links instantly as you type |
| 🌍 Multi-Language | English & 中文 supported natively |
| 💾 Session Memory | Remembers opened links, never repeat |
|
Chrome / Edge / Brave
|
# Or use git clone
git clone https://github.com/KingdeGuo/WebLinkSniffer.git
cd WebLinkSniffer
# Then follow steps 2-5 above |
|
1. Visit any webpage
2. Click the 🔗 icon (or floating button for userscript)
3. Browse paginated links
4. Click 🚫 to block, ☑️ to select multiple
5. Hit "Open Selected" to batch-open! 🚀Coming soon - Screenshots of the UI in action
- Manifest V3 - Modern extension architecture
- Chrome Storage API - Fast local persistence
- chrome.i18n - Native i18n support
- GM API - Tampermonkey integration
- Smart URL Normalization - Protocol, www, params, anchors
| Language | Code | Status |
|---|---|---|
| 🇺🇸 English | en |
✅ Native |
| 🇨🇳 简体中文 | zh_CN |
✅ Native |
WebLinkSniffer 是一款强大的浏览器扩展和油猴脚本,帮助您在几秒钟内提取和管理网页中的所有超链接。
适用于:
- 📚 研究人员 - 高效收集参考文献链接
- 🕵️ SEO 分析师 - 快速审计页面链接
- 💻 开发者 - 提取文档链接
- 📖 内容策展人 - 轻松构建链接集合
| 🎯 功能 | 💡 帮助 |
|---|---|
| ⚡ 一键提取 | 即时抓取所有链接,无需手动复制 |
| 🧹 智能去重 | 自动移除重复链接并合并锚点变体 |
| 📄 智能分页 | 每页显示 5 个链接 - 不会滚动疲劳 |
| 🛡️ 高级过滤 | 按域名、关键词或正则表达式屏蔽 |
| ☑️ 批量操作 | 同时打开/复制/屏蔽多个链接 |
| 🔍 实时搜索 | 输入时即时查找链接 |
| 🌍 多语言 | 原生支持英文和中文 |
| 💾 会话记忆 | 记住已打开链接,避免重复 |
|
Chrome / Edge / Brave
|
# 或使用 git clone
git clone https://github.com/KingdeGuo/WebLinkSniffer.git
cd WebLinkSniffer
# 然后按上述步骤 2-5 操作 |
|
1. 访问任意网页
2. 点击 🔗 图标(油猴版为浮动按钮)
3. 浏览分页链接
4. 点击 🚫 屏蔽,☑️ 多选
5. 点击"打开选中项"批量打开!🚀即将推出 - UI 实际使用截图
- Manifest V3 - 现代扩展架构
- Chrome Storage API - 快速本地持久化
- chrome.i18n - 原生国际化支持
- GM API - Tampermonkey 集成
- 智能 URL 规范化 - 协议、www、参数、锚点处理
| 语言 | 代码 | 状态 |
|---|---|---|
| 🇺🇸 English | en |
✅ 原生支持 |
| 🇨🇳 简体中文 | zh_CN |
✅ 原生支持 |
WebLinkSniffer/
├── 📄 manifest.json # Extension manifest / 扩展清单
├── 🎨 popup.{html,css,js} # Popup UI / 弹出界面
├── 🔍 content.js # Link extraction / 链接提取
├── ⚙️ options.{html,js} # Settings / 设置页面
├── 🌐 i18n.js # i18n utilities / 国际化工具
├── 🐱 tampermonkey_script.js # Userscript / 油猴脚本
├── 🐱 tampermonkey_i18n.js # Userscript i18n / 油猴 i18n
├── 🗂️ _locales/ # Translations / 翻译文件
│ ├── en/messages.json # English / 英文
│ └── zh_CN/messages.json # 简体中文
├── 🎨 icons/ # Icons / 图标
├── 🧪 tests/ # Test pages / 测试页面
├── 📖 docs/ # Documentation / 文档
└── 💡 examples/ # Examples / 示例
Contributions are welcome! Feel free to:
- 🐛 Report bugs via Issues
- 💡 Suggest features
- 🔧 Submit pull requests
欢迎贡献!可以通过以下方式参与:
- 🐛 通过 Issues 报告问题
- 💡 建议新功能
- 🔧 提交 Pull Request
MIT License © KingdeGuo
⭐ Star this repo if you find it helpful!
⭐ 如果觉得有用,请给本仓库点个星!