To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
CloseWelcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.
CloseRedirector Version History
25 versions
Be careful with old versions!
These versions are displayed for reference and testing purposes. You should always use the latest version of an add-on.
Version 3.1.0
- Source code released under MIT/X11 License
- What's this?
Version 3.0.6
- "Preferences" button is back in Addons Manager, and opens the main Redirector page. This should make it easier for people on Android to actually edit their redirects, and for everyone that doesn't like the toolbar button.
- Removed local copy of ExtensionStorage.jsm, now using the built in one that ships with FF 44 and newer.
- Added message on Redirector page that shows that the addon does not work in Private Mode
- Added "Base 64 Decode" option to redirects. Updated the UI to show "Base64 Decode", "URL Encode" and "URL Decode" in one dropdown box, instead of adding more and more checkboxes. This slightly changes the format of redirects, but that upgrade is handled automatically.
- Source code released under MIT/X11 License
- What's this?
Version 3.0.4
- Completely new UI
- Ability to redirect any type of request, e.g. images, scripts, xmlhttprequests
- Better support for avoiding redirect loops
- No more warnings about recursive redirects
- Redirector is now also available for Chrome and Opera
- Source code released under MIT/X11 License
- What's this?
Version 2.9.3
- Source code released under MIT/X11 License
- What's this?
Version 2.9.2
- Source code released under MIT/X11 License
- What's this?
Version 2.9.1.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.9.1-signed
Description shown in Redirect list, enabled/disabled status also shown.
- Source code released under MIT/X11 License
- What's this?
Version 2.8.4.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.8.3.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.8.1.1-signed
Fixed substitution of empty captures, so they are returned as an empty string instead of 'undefined'.
- Source code released under MIT/X11 License
- What's this?
Version 2.8.1-signed
* New option, escape matches. It's the opposite of the unescape matches option. Allows you to do things like:
Example url: http://foo.com
Include pattern: (http://foo.*)
Redirect to: http://somesite.com?q=$1
Which would redirect to http://somesite.com?q=http%3A%2F%2Ffoo.com
* Fix export bug that caused export to fail on OSX
* Give a default name for exported files, Redirector.rjson.
- Source code released under MIT/X11 License
- What's this?
Version 2.7.1.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.7.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.6.1-signed
- Close button added to Redirector window
- Keyboard shortcut, alt+r, to enable/disable Redirector
- Redirects now stored in a redirector.rjson file in your profile folder, not in about:config
- Import/Export now uses .rjson files exclusively
- Technical: No more custom xpcom interfaces, code modules used instead
- Source code released under MIT/X11 License
- What's this?
Version 2.5.2.1-signed
- Source code released under MIT/X11 License
- What's this?
Version 2.5
The main bug that has been bothering people is when urls are opened from outside the browser, they open in the main browser window and a new window if they are redirected. Unfortunately I could not fix this in the 3.6 version of Firefox, but it works fine in the 4.0 versions, just one tab is opened in the existing window.
- Source code released under MIT/X11 License
- What's this?
Version 2.0.2
This version also supports Firefox 3.6
- Source code released under MIT/X11 License
- What's this?
Version 2.0.1
Finally, here is version 2.0. This version includes several of the most requested features and bug fixes as well as some performance optimizations.
- Option to unescape matches in include patterns. This means that if you have a pattern like http://foo.com/?url=* which redirects to $1 (the content of the *) and the match is escaped, like http%3A%2F%2Fbar%2Ecom%2Fpath then previously the redirect would fail. Now you can use the option "Unescape matches" which will turn http%3A%2F%2Fbar%2Ecom%2Fpath into http://bar.com/path which makes it usable as a redirect target.
- It is now possible to re-order the redirects.
- Individual redirects can be disabled, as disabling all redirects at once.
- Import and export of redirects to text files is now possible.
- Redirects now work on url's that are the result of 30x redirects from web servers. Previously when you entered for example http://foo.com into the address bar and the website sent back a 301 redirect to http://foo.com/new/path then the http://foo.com/new/path url was never checked against the redirects. Well, now it works.
- Improved GUI. All configuration options are for example now available in the GUI, it is split up into tabs instead of having everything in the same place and the window is resizable.
- Improved performance. Both wildcard and regular expression patterns are now stored as compiled regular expressions, instead of being created from string patterns during every single redirect. Some more checks have also been added to make sure that we exit as soon as possible in those cases where redirects should not apply.
- More protection from shooting yourself in the foot. The dialog to create redirects will now warn you if your pattern doesn't match your example url, or if your redirected url also matches the redirect, possibly causing an endless series of redirects. During redirection it is also checked whether the redirected url matches the same redirect that created it, if so a warning is displayed to the user and the redirect is disabled. This will stop the user from issuing endless requests to the same url. It is still possible to have one redirect from A to B and another from B to A, the current safeguard functionality doesn't detect cycles like that.
- Refactored to get rid of 'eval' and 'wrappedJSObject' so it passes all validations at AMO.
Note: This new version only supports version 3.5.* of Firefox. It is highly likely that it would work without problems on the 3.0.* series, but since I am not putting in the effort to test on those version, I will not report them as being supported. If anyone feels like testing this, let me know and if everything works I'll add them as supported versions on AMO.
Anyway, enjoy!
- Source code released under Mozilla Public License Version 1.1
- What's this?
Version 2.0
* Option to unescape matches in include patterns. This means that if you have a pattern like http://foo.com/?url=* which redirects to $1 (the content of the *) and the match is escaped, like http%3A%2F%2Fbar%2Ecom%2Fpath then previously the redirect would fail. Now you can use the option "Unescape matches" which will turn http%3A%2F%2Fbar%2Ecom%2Fpath into http://bar.com/path which makes it usable as a redirect target.
* It is now possible to re-order the redirects.
* Individual redirects can be disabled, as disabling all redirects at once.
* Import and export of redirects to text files is now possible.
* Redirects now work on url's that are the result of 30x redirects from web servers. Previously when you entered for example http://foo.com into the address bar and the website sent back a 301 redirect to http://foo.com/new/path then the http://foo.com/new/path url was never checked against the redirects. Well, now it works.
* Improved GUI. All configuration options are for example now available in the GUI, it is split up into tabs instead of having everything in the same place and the window is resizable.
* Improved performance. Both wildcard and regular expression patterns are now stored as compiled regular expressions, instead of being created from string patterns during every single redirect. Some more checks have also been added to make sure that we exit as soon as possible in those cases where redirects should not apply.
* More protection from shooting yourself in the foot. The dialog to create redirects will now warn you if your pattern doesn't match your example url, or if your redirected url also matches the redirect, possibly causing an endless series of redirects. During redirection it is also checked whether the redirected url matches the same redirect that created it, if so a warning is displayed to the user and the redirect is disabled. This will stop the user from issuing endless requests to the same url. It is still possible to have one redirect from A to B and another from B to A, the current safeguard functionality doesn't detect cycles like that.
* Refactored to get rid of 'eval' and 'wrappedJSObject' so it passes all validations at AMO.
Note: This new version only supports version 3.5.* of Firefox. It is highly likely that it would work without problems on the 3.0.* series, but since I am not putting in the effort to test on those version, I will not report them as being supported. If anyone feels like testing this, let me know and if everything works I'll add them as supported versions on AMO.
Anyway, enjoy!
- Source code released under Mozilla Public License Version 1.1
- What's this?
Version 1.7.1
* An error message was printed to the Error Console 'Redirector.unLoad() is not a function' when the Options dialog was closed.
* For new users, the first time the options dialog was opened, it contained one item where everything was marked as 'undefined'.
- Source code released under Mozilla Public License Version 1.1
- What's this?
Version 1.7
Although not really "user features", here is a list of the technical changes for those interested:
* Redirector is now an implementation of the nsIContentPolicy interface. Before there were different ways used to catch requests depending on whether it was opened in a new tab, new window, came from the outside etc. This new implementation works fully for any case and makes the code a lot cleaner and maintainable. It also makes sure that the requests to the original url are never made, they are blocked before they leave the browser which was not always the case in the old version.
* The format of the redirects is no longer JSON, and is not eval'd to import. This was taken out for security reasons, since v2.0 will support importing redirects from others, and it is not safe to eval something from the outside.
* The Redirector class itself is now a javascript XPCOM component, which makes it a true global object, whereas before there were multiple instances which communicated through preferences and preference listeners (a big hack basically).
- Source code released under Mozilla Public License Version 1.1
- What's this?
Version 1.5.2
* Firefox 3 compatibility
* Improved UI in the Redirector settings window
* Access Redirector settings through the statusbar icon. Left click disables Redirector, right click shows settings.
* Ability to hide context menu and status bar through about:config, just search for redirector and you’ll find the config options.
* Replacement chars ($1,$2…) for wildcards as well as regular expressions.
* Help file included with examples, accessible through the Redirector settings window.
* Possible to add exclude patterns in addition to the normal include patterns, this makes capturing certain things simpler.
* And last but not least, redirects now work when opening new windows, new tabs, middle clicking links, opening bookmarks and opening urls from other applications.
One feature was removed in this version, that is the xpath redirect urls. The reason is that as far as I know no one was using the feature and it was causing some problems so I decided to remove it. I think this addon is pretty much feature complete at this point, I don’t think I’ll work more on it except to fix bugs from now on. Enjoy :)
Version 1.0.2.1
1. Fix missing statusbar icon on linux
2. Fix error that came in the error console when Redirector was disabled
3. The stop button was always active and it looked like pages never finished loading.
4. There were some memory leaks when opening and closing new windows.
Version 1.0
1. Instant redirects instead of loading the page before redirecting.
2. XPath expressions to specify redirect urls.
3. Redirect url can now be a relative url and will then be resolved against the first url.
Details about these features have been included in the main extension description.
To create your own collections, you must have a Mozilla Add-ons account.