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.

也可在 Firefox for Android™ 使用也可在 Firefox for Android™ 使用
4 (4 reviews)4 (4 reviews)
187 Users187 Users
必須使用 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.
由 1 位評論者給出 4 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
3
4
0
3
0
2
0
1
1
閱讀全部 4 條評論
權限與資料了解更多

必要權限:

  • 存取瀏覽器分頁
  • 存取您所有網站中的資料
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
  • 技術支援信箱
版本
5.7.0
大小
43.7 KB
最近更新
2 個月前 (2025年6月12日)
相關分類
  • 其它
授權條款
僅 GNU General Public License v3.0
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
5.7.0 版的發行公告
  • Add %e replace format.
fluks 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

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

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。Android 是 Google LLC 的註冊商標。