Redirect a link to somewhere else.

Latest Version

Version
6.1.0
Update
November 4, 2024
Size
49.95KiB
Developer
Category
Users
869
Rating
4.22222 ★
Manifest Version
3
Web Store Status
Languages Support
English
Suomi
See more
Permissions
Storage
ContextMenus
Tabs
DeclarativeNetRequestWithHostAccess
Notifications
See more

Redirect Link 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 the middle and the right one to a new tab when using the toolbar popup.

Watch a demo video what this add-on does.

https://fluks.github.io/redirect-link/demo.ogv

---

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.\\]+]

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 doesn't work in the context menu in Chrome, but does in the toolbar popup.

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.

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

* Read your browsing history - Get the URL of the current page.
* Notifications - Show a notification about Manifest V3 change.

---

Latest changes
* Validate EnableURL if always used.
* Show a notification about MV3 change.
* Convert to use Manifest V3.
* Minor UI changes.
* Fix context menu not showing bug.
* Add favicon feature.
* Add redirect always option.
* Add preferences button.
* Open to new tab only when the option is on. Previously middle click worked in toolbar popup.
* Removed notifications permission.
* Fix popup ellipsis bug.
* Remove max width for popup.
* Redirect in current tab or to another depending on click. Left click opens in current tab and right one opens to a new tab when using toolbar popup.
* Add import and export options.
* Use Drag and Drop API to order redirects.
* Add regular expression format.
* Fix replace format bug.
* Small UI changes on options page.
* Try to fix toolbar popup not loading content.
* Fix toolbar popup order bug.
* Reorder redirections.
* Add toolbar button to redirect the current page.
* Add a setting to enable redirection only on certain URLs. This works only with the toolbar popup on Chrome.
* Add formats for more detailed path and query parameters.
* Remove the leading slash from path substitution. This can break previous path formats.
* Open options to a tab.
* Add shortcuts to options page.

---

Licensed as GPL3.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Redirect Link", "version": "6.1.0", "description": "__MSG_extensionDescription__", "author": "fluks", "default_locale": "en", "icons": { "16": "data/logo_16x16.png", "48": "data/logo_48x48.png", "96": "data/logo_96x96.png", "128": "data/logo_128x128.png" }, "background": { "service_worker": "background/background.js", "type": "module" }, "options_ui": { "page": "options/options.html", "open_in_tab": true }, "action": { "browser_style": true, "default_icon": { "16": "data/logo_16x16.png", "48": "data/logo_48x48.png", "96": "data/logo_96x96.png", "128": "data/logo_128x128.png" }, "default_title": "Redirect Link", "default_popup": "browser_action/popup.html" }, "permissions": [ "storage", "contextMenus", "tabs", "declarativeNetRequestWithHostAccess", "notifications" ], "host_permissions": [ "" ]}
Read more

How to download and manually install Redirect Link extension for Chrome

Looking for a way to install Redirect Link extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Redirect Link extensions manually, this article outlines two simple methods to effortlessly install Redirect Link extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Redirect Link extension and manually install through Drag &Drop

If you ever need to manually install a Redirect Link extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Redirect Link Extension by clicking the "Download CRX" button on the website.

Look for the Redirect Link extension you wish to install. Go to the website and download the Redirect Link extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Redirect Link extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Redirect Link extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Redirect Link extension for Chrome and install in Developer Mode

This is another method to install Redirect Link extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Redirect Link extension file

Select and download the Redirect Link extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Redirect Link extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Redirect Link extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Redirect Link extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Redirect Link extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

斩魔 (ID: 00000060f5e7b7dc) Voted 5 ★ - Updated 10/15/2023 这个插件太棒了希望作者一直更新下去。最好添加个分组功能。和自动功能。威力强大。

icon

Eugen N (ID: 000000ad0d378dce) Voted 1 ★ - Updated 10/02/2023 It won't work. It doesn't redirect "www.youtube.com" to "www.youtube.com/feed/subscriptions"