Automatically redirect content based on user-defined rules.
Redirector Extension
Redirector is an extension that allows you to specify patterns for pages that should be automatically redirected to other pages. E.g. you always want http://example.com/foo.html to redirect to http://example.com/bar.html.
This can be useful for instance to skip confirmation pages after posting messages on message boards, skipping ad pages that appear before you can view content on certain sites, redirecting from http to https on sites where you always want the https version, redirecting from one hostname to another for proxy servers, or just anywhere where it takes you two or more clicks to get to what you want.
The extension supports both wildcards and regular expressions in patterns. Regular expressions support capturing parantheses so you could define the pattern: http://foo.com/bar.php\\?id=(\\d+) and define the redirect as http://bar.com/baz.php?id=$1. In that case http://foo.com/bar.php?id=1234 would automatically redirect to http://bar.com/baz.php?id=1234. Wildcards can also use $1,$2 in the redirect urls, $1 is the contents of the first star match, $2 of the second and so on.
Click on the Redirector button next to your address bar to get started adding and editing redirects, and use the Enable/Disable button to quickly disable the addon.
Read more
This can be useful for instance to skip confirmation pages after posting messages on message boards, skipping ad pages that appear before you can view content on certain sites, redirecting from http to https on sites where you always want the https version, redirecting from one hostname to another for proxy servers, or just anywhere where it takes you two or more clicks to get to what you want.
The extension supports both wildcards and regular expressions in patterns. Regular expressions support capturing parantheses so you could define the pattern: http://foo.com/bar.php\\?id=(\\d+) and define the redirect as http://bar.com/baz.php?id=$1. In that case http://foo.com/bar.php?id=1234 would automatically redirect to http://bar.com/baz.php?id=1234. Wildcards can also use $1,$2 in the redirect urls, $1 is the contents of the first star match, $2 of the second and so on.
Click on the Redirector button next to your address bar to get started adding and editing redirects, and use the Enable/Disable button to quickly disable the addon.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Redirector", "icons": { "38": "images/icon-light-theme-38.png", "48": "images/icon-light-theme-48.png", "16": "images/icon-light-theme-16.png", "19": "images/icon-light-theme-19.png", "32": "images/icon-light-theme-32.png", "64": "images/icon-light-theme-64.png", "128": "images/icon-light-theme-128.png" }, "description": "Automatically redirect content based on user-defined rules.", "background": { "persistent": true, "scripts": [ "js/redirect.js", "js/background.js" ] }, "version": "3.5.3", "options_ui": { "chrome_style": true, "page": "popup.html" }, "manifest_version": 2, "browser_action": { "default_popup": "popup.html", "theme_icons": [ { "dark": "images/icon-light-theme-16.png", "light": "images/icon-dark-theme-16.png", "size": 16 }, { "dark": "images/icon-light-theme-19.png", "light": "images/icon-dark-theme-19.png", "size": 19 }, { "dark": "images/icon-light-theme-32.png", "light": "images/icon-dark-theme-32.png", "size": 32 }, { "dark": "images/icon-light-theme-38.png", "light": "images/icon-dark-theme-38.png", "size": 38 }, { "dark": "images/icon-light-theme-48.png", "light": "images/icon-dark-theme-48.png", "size": 48 }, { "dark": "images/icon-light-theme-64.png", "light": "images/icon-dark-theme-64.png", "size": 64 }, { "dark": "images/icon-light-theme-128.png", "light": "images/icon-dark-theme-128.png", "size": 128 } ], "default_icon": { "38": "images/icon-light-theme-38.png", "48": "images/icon-light-theme-48.png", "16": "images/icon-light-theme-16.png", "19": "images/icon-light-theme-19.png", "32": "images/icon-light-theme-32.png", "64": "images/icon-light-theme-64.png", "128": "images/icon-light-theme-128.png" }, "default_title": "Redirector" }, "permissions": [ "webRequest", "webRequestBlocking", "webNavigation", "storage", "tabs", "http://*/*", "https://*/*", "notifications" ]}
Read more