Redirect similar to Invidious #1280

Open
opened 2025-07-28 17:40:02 -04:00 by Julmik647 · 4 comments
Julmik647 commented 2025-07-28 17:40:02 -04:00 (Migrated from github.com)

Make redirect similar to https://redirect.invidious.io/ and https://invidio.us/ in Invidio.us which will allow user to select Nitter instance that (s)he wants to use to view something. You can for example link it on website after clicking Twitter/X button user choses to open link in Twitter/X or in Nitter and Nitter one will redirect to this site.

Make redirect similar to https://redirect.invidious.io/ and https://invidio.us/ in Invidio.us which will allow user to select Nitter instance that (s)he wants to use to view something. You can for example link it on website after clicking Twitter/X button user choses to open link in Twitter/X or in Nitter and Nitter one will redirect to this site.
gthzee commented 2025-07-30 09:37:02 -04:00 (Migrated from github.com)

You can go to my repo, i made userscript for that. when you click twitter/x link it will direct to nitter.net. in case there's an error, it will be direct to xcancel.com

You can go to my repo, i made userscript for that. when you click twitter/x link it will direct to nitter.net. in case there's an error, it will be direct to xcancel.com
MiningTcup commented 2026-05-22 23:42:37 -04:00 (Migrated from github.com)

nitt.tr

Code for this project lives at MiningTcup/nitt.tr.

Image

Or Just Use uBlock Origin

This can be done within uBlock Origin. Simply add these two lines to My filters in the uBO settings:

||x.com$uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\//
||twitter.com$uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\//

Replace nitter.miningtcup.me with your preferred instance, of course.

# [nitt.tr](https://nitt.tr/) Code for this project lives at [MiningTcup/nitt.tr](https://git.miningtcup.me/MiningTcup/nitt.tr). <img width="2560" height="1600" alt="Image" src="https://github.com/user-attachments/assets/52597d76-00d5-4516-95fd-a3261160b68f" /> ## Or Just Use uBlock Origin This can be done within uBlock Origin. Simply add these two lines to *My filters* in the uBO settings: ``` ||x.com$uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\// ||twitter.com$uritransform=/^https:\/\/.+?\//https:\/\/nitter.miningtcup.me\// ``` Replace ``nitter.miningtcup.me`` with your preferred instance, of course.
cmj commented 2026-05-23 10:27:43 -04:00 (Migrated from github.com)

It's generally preferred to use libredirect to handle urls, but more the better.

It's generally preferred to use [libredirect](https://libredirect.github.io/) to handle urls, but more the better.
MiningTcup commented 2026-05-23 14:29:20 -04:00 (Migrated from github.com)

It's generally preferred to use libredirect to handle urls, but more the better.

This could be true, but it's also beneficial not to install more extensions than absolutely necessary to keep attack surface down. On the other hand, $uritransform is listed by uBO as

Candidate for deprecation, avoid usage. To be further discussed.

So libredirect may be required in the future.

> It's generally preferred to use [libredirect](https://libredirect.github.io/) to handle urls, but more the better. This could be true, but it's also beneficial not to install more extensions than absolutely necessary to keep attack surface down. On the other hand, [``$uritransform`` is listed by uBO](https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#uritransform) as > Candidate for deprecation, avoid usage. To be further discussed. So libredirect may be required in the future.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PAS/nitter#1280
No description provided.