Firefox Browser Add-ons
Log in
Preview of Redirect Link

Redirect Link by 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.

4 (4 reviews)4 (4 reviews)
190 Users190 Users
You'll need Firefox to use this extension
Download Firefox
Download file

Extension Metadata

Screenshots
Redirection context menu.Browser action popup.Options page.
About this extension
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.
Rated 4 by 4 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
3
4
0
3
0
2
0
1
1
Read all 4 reviews
Permissions and dataLearn more

Required permissions:

  • Access browser tabs
  • Access your data for all websites
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
5.7.0
Size
43.7 KB
Last updated
2 months ago (Jun 12, 2025)
Related Categories
  • Other
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 5.7.0
  • Add %e replace format.
More extensions by fluks
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.