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

Redirect Link 作者: fluks

Open and redirect a link or the current page to somewhere else. You can redirect a link you clicked or the current page to Google's WebCache, Wayback Machine and archive.is and you can add more.

可在 Android™ 版 Firefox 上使用可在 Android™ 版 Firefox 上使用
4 (4 reviews)4 (4 reviews)
190 个用户190 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Redirection context menu.Browser action popup.Options page.
关于此扩展
Usage

You can redirect links and the current page. Current page can be redirected by clicking the right mouse button on the page, not on any kind of media or other elements, but basically the background.

Left mouse click redirects in the current tab and middle click redirects in a new tab.

Watch a demo video what this add-on does.



Options

The URL field denotes where the page or the link is redirected to. It must start with a scheme, e.g. https://. It can contain formats, which are replaced by the component parts of the link's or page's URL. If the URL doesn't contain any formats, the link's or page's URL is appended to this URL.

Formats
%u - entire URL
%s - scheme
%h - hostname
%p - whole path without the leading slash, or %p[N], where N is index of the path part. e.g. in http://example.com/a/b/c?param=1, %p[0] is a, %p[1] is b and %p[2] is c
%q - all query parameters, or %q[KEY], where KEY is the name of the query parameter. e.g. in http://example.com/?a=1&b=2, %q[a] is 1 and %q[b] is 2
%f - fragment
%r[REGEX] - the regular expression is replaced with the match, or if capture groups are used, their matches are concatenated or empty string if there's no match. Right square brackets must be escaped in the regex. E.g. https://%r[[a-z.\]+]
%g[N] - Capturing group from EnableURL field, where N is the index of captured group.
%e[/REGEX/REPLACEMENT/FLAGS] - Replace REGEX with REPLACEMENT and optionally use FLAGS (i, g, etc.) using link/page URL as input. If you put some format before this format, it is used as input for this format. Example: http://a.com/%p[1]%e[/a|b|c/x/g] - %p[1] is used for input for %e and it changes all occurances of a, b and c to x from %p[1]

There are examples in the other screenshot.

To enable a redirection everywhere, leave Enable URL field empty. If you want to enable it only on certain URLs, add the URL or part of it and you can use a regular expression also.
This feature works only on versions 63 and newer.

The Open in a Container option doesn't do anything, unless containers are enabled in the browser.

You can reorder redirections by dragging and dropping redirection rows by pressing a drag button.

Remember to save if you changed options!

More redirections and you can propose or share new redirections at GitHub in this issue: https://github.com/fluks/redirect-link/issues/7.

All the proposed redirections in a file you can import: https://github.com/fluks/redirect-link/raw/master/redirect-link_settings.json



Permissions
  • Access your data for all websites - Needed for disabling redirections on certain URLs.
  • Access browser tabs - Get the URL of the current page.
  • Display notifications to you - A notification is shown on update, because of the change in mouse clicks.
评分 4(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
3
4
0
3
0
2
0
1
1
阅读全部 4 条评价
权限与数据详细了解

必要权限:

  • 获取浏览器标签页
  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
5.7.0
大小
43.7 KB
上次更新
2 个月前 (2025年6月12日)
相关分类
  • 其他
许可证
仅 GNU 通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
5.7.0 的发布说明
  • Add %e replace format.
fluks 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

本站内容以知识共享署名-相同方式共享 v3.0 或任何更新版本授权(除非另有注明)。Android 系 Google LLC 的商标。