Just another dog on the internet

Make websites usable again using redirections in Firefox

2021.01.02

One of the many reasons I like Mozilla Firefox is that there are a variety of useful extensions that improve one’s experience on the web. One of these “killer extensions” is Redirector, which allows arbitrary redirects for specific websites using the power of regular expressions.

This may not sound like much, but it can be used to eliminate some small annoyances that come up more often than not.

While the power of the extension allows it to replace several other dedicated extensions, the configuration can be a bit overwhelming at first, here are my use cases as an example on how to use Redirector to have web servers actually serving you again.

Desktop Wikipedia for Desktop Computers

Wikipedia has a dedicated subdomain for mobile devices (e.g. en.m.wikipedia.org), which is very useful to read the text-heavy pages of the online encyclopaedia. However, this also means that desktop users get to “enjoy” the mobile experience when they follow a m.wikipedia.org link, even though the regular desktop version would be more suited for them.

Using the following redirect, this can easily be solved:

Actually Useable Reddit

While the management and community of Reddit can be questionable or outright toxic, for many (niche) topics it has not yet been replaced by a more suitable website. However, the “new” layout is in my opinion inferior to the “old” layout, especially for text-heavy communities.

The following redirect forces Reddit to be displayed using the old layout wherever possible:

This redirect obviously will only work as long as old.reddit.com is operational, but I am confident that a shutdown of the old layout would either enable suitable competitors or third-party front-ends to rise.

Avoid the Dark Patterns of Twitter

In my opinion, it would be a net gain for society if Twitter were to disappear without replacement, but sometimes it may be necessary to use the site to view a post referenced elsewhere.

To avoid the dark patterns used by Twitter, one can use a third-party front-end such as Nitter to view posts and accounts. This redirect takes away the work of having to change the URL to nitter.net each time one is linked to Twitter:

Again, this will only work as long as Nitter is able to access Twitter data, but changing to a different third-party front-end is only a matter of adapting the redirect.