Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
SnapHook 预览

SnapHook 作者: OpsTwo

Dynamically inject contextual action buttons onto any website. Define URL patterns with regex to trigger a webhook, which returns custom actions based on page data. The ultimate tool for developers integrating web services.

0(0 条评价)0(0 条评价)
4 个用户4 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
Stop juggling tabs and manually looking up information in your internal tools. SnapHook is a powerful workflow-integration extension that brings your essential actions directly to the websites you use every day.

SnapHook allows you to create rules that watch for specific URL patterns. When you visit a matching page, it securely sends page data (like the title and URL) to a webhook you control. In response, your webhook can send back a list of custom action buttons that appear in an unobtrusive overlay on the page, turning any website into a context-aware dashboard for your services.

Who is this for?
  • Developers & DevOps: Instantly link a GitHub PR to your project board, open a production log viewer from an alert page, or trigger a build directly from a feature branch URL.
  • System Administrators: Create buttons on a user's profile page in one service to open their account in another admin panel.
  • Sales & Support Teams: When viewing a customer's record in your CRM, display buttons to open their profile in Stripe, Zendesk, or your billing system.
  • Automation Power Users: Connect websites to Zapier or Make/Integromat to trigger complex workflows with a single click on a context-aware button.

Key Features:
  • Create Powerful Contextual Rules: Define rules with a name, one or more URL patterns using Regular Expressions (regex), and a target webhook URL.
  • Trigger Webhooks with Page Data: When a URL matches, SnapHook sends a POST request containing the page's title, URL, and meta tags to your endpoint.
  • Display Dynamic Action Buttons: Your webhook's JSON response can generate a list of buttons directly on the page, each linking to a specific URL. The UI only appears when there are actions available.
  • Seamless SPA Support: SnapHook correctly detects URL changes in Single-Page Applications (SPAs), ensuring your rules work everywhere.
  • Simple & Secure Management: All your configurations are managed through a clean popup interface and stored securely in your local browser storage.
  • Track Your Usage: See how often your custom actions are being used with a built-in click counter for each configuration.

How It Works:
  1. Define a Rule: Open the SnapHook popup and create a rule. For example, for all URLs matching https://github.com/my-org/my-repo/pull/\d+, send a request to your custom API.
  2. Visit a Page: Navigate to a GitHub pull request page that matches the rule.
  3. Act: SnapHook's UI appears with the buttons returned by your API (e.g., "View in Jira," "Deploy to Staging"). Click a button to open the link and complete your action.

Your webhook should return a simple JSON array to generate buttons:

[
{"ButtonName": "View in Jira", "url": "https://my-jira/ticket-123"},
{"ButtonName": "Deploy to Staging", "url": "https://my-api/deploy/456"}
]


Stop copy-pasting and start integrating. Install SnapHook and build the connected browsing experience you've always wanted.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据
详细了解
更多信息
附加组件链接
  • Copy add-on ID
版本
1.0.2
大小
36.54 KB
上次更新
9 个月前 (2025年9月6日)
相关分类
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。