https://addons.mozilla.org/en-US/firefox/addon/redirector/
https://chromewebstore.google.com/detail/redirector/
Not only do I translate x.com -> xcancel.com, but
- cnn.com -> text.cnn.com
- youtube.com -> inv.nadeko.net
- instagram.com -> imginn.com
And more.
Regular expressions allow translations of paths for the redirection, so it does not just happen at the top level.
javascript:(function(){const p=['https://x.com','https://xcancel.com'],u=location.href,i=p.findIndex(x=>u.startsWith(x));if(i!==-1)location.href=p[(i+1)%p.length]+u.slice(p[i].length)})();
But I never trust extensions, I do it manually.
People hate a service, but they depend on it so much they create whole codebases to cope with it.
Depending on things we hate is a tragedy.
How about just admitting the things you hate? Then you can just drop it and live a happier life.
Unless you are of course somehow required/forced to use X, then I'm all for projects like these.
I create a two bookmarks in a folder called redirects in the bookmarks toolbar for easy access.
when I click on a link to reddit, I click on the bookmark and it automatically redirects to reddit.nerdvpn.de or redlib.privacyredirect.com. there are many others
javascript:(function(){if (location.host.endsWith('.reddit.com') && (location.host !='new.reddit.com') ) location.host='redlib.privacyredirect.com';})()
javascript:(function(){if (location.host.endsWith('.reddit.com') && (location.host !='new.reddit.com') ) location.host='reddit.nerdvpn.de';})()
here is the same thing for x.com redirects to xcancel.com
javascript:(function(){if (location.host.endsWith('.x.com') && (location.host !='new.x.com') ) location.host='xcancel.com ';})()
saves having loads of addons
If you use Dillo, with dilloc (from a git build, you need socket control support in the configure flag) and a menu command you can do it but not automatically.
Maybe w3m has some plugin to achieve the same too.
Also: https://farside.link
Aside from political or social reasons, X is a terrible platform.
More often than not, I get a blank page, something didn't load.
If I get content, it's (randomly) behind a registration-wall.
Or it shows confusing cookie banners that half the time don't even work. (Dev console full of js errors)
So I don't even bother anymore. This service is technically so fragile and unstable, it's not worth the click.
Aside from how it's socially and businesswise broken. Because I have looked into some of the errors and issues and they'll only occur for "anonymous users" and not for twitter users. They're oftencaused by (normal vanilla) adblockers or privacy protection.
So I dare say they're either malicious, deliberate. Or lack of interest/resources for non-registered and/or privacy-aware users
I do prefer to use nitter.poast.org, xcancel has some annoying bot/ddos protection that makes it take longer to load.
I've just installed it and tested it on a link from a HN topic which worked exactly as advertised.
{
local_certs
order reverse_proxy before file_server
}
x.com, www.x.com {
tls internal
reverse_proxy https://xcancel.com {
header_up Host xcancel.com
}
}
I think I installed my caddy cert on my devices so the browser wouldn't throw a fit, but this works on my mobile devices as well with a dns record to point to this caddy instance (and a wireguard tunnel back home).
any improvements to this approach would be appreciated.i find it annoying that whenever there is a new browser extension on HN, i ask for a "firefox version" to which the response is almost always kneejerk "eww no" or something to that end. So to see a firefox extension, that's refreshing. I hope you continue working on it and help improve the extension ecosystem
- like honestly, dont. i have realized lately that x is full of ragebaiting and other algorithmic stuff to make you invested into it.
- you ll never have even an ounce of mind the moment you open anything on x
- good time to make a new year resolution, delete your account on x and say a permanent goodbye. they are trying hard to lure you back in