Replies: 4 comments 12 replies
-
|
Redirecting to new connection is a security-risk, so currently uBO does not support that. |
Beta Was this translation helpful? Give feedback.
-
|
I personally think this should be left to a dedicated extension. Beyond the technical effort required to make the actual extension, maintaining the rules of what should redirect to what would probably require a lot of work. There are also so many options; how is the maintainer to decide which users would prefer. They could of course do nothing by default and have users pick, but then what's the point.
Then why not use that? |
Beta Was this translation helpful? Give feedback.
-
|
Why not create and use your own scriptlet for it and host it on your own GitHub account? uBlock Origin is very flexible for these types of problems. A lazy improvement on this would look like... /// redirect-frontend.js
/// alias rf.js
/**
* @example
* twitter.com##+js(rf, https://nitter.nl)
* www.reddit.com##+js(rf, https://old.reddit.com)
* */
(function() {
"use strict";
const host = "{{1}}";
window.location.replace(host + window.location.pathname);
})();You can customise it to your own liking and use case! |
Beta Was this translation helpful? Give feedback.
-
|
uBo 1.66+1 with enabled "I trust this filters": ||www.reddit.com^$doc,uritransform=/www/old/
|https://twitter.com^$doc,uritransform=/twitter/twiiit/
|https://www.twitter.com^$doc,uritransform=/www\.twitter/twiiit/
!|https://platform.twitter.com^$doc,uritransform=/platform\.twitter/twiiit/
||x.com^$doc,uritransform=/(www\.)?x/twiiit/I do not tested with Chromium, works fine with Firefox (or other Gecko/Servo). On the downside, someone needs to add a mechanism that allows logging in (You probably need to switch to many Footnotes
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to have an option to redirect e.g. twitter.com to nitter.nl (different domain, same path)? Basically same as privacy redirect extension. The biggest impact would probably be in loading speed on mobile especially with medium mode enabled.
Not sure if this is a welcomed idea for an ad blocker, but given the goal in ublock origin readme it just might make sense:
Edit: changed twitter.nl to nitter.nl
Beta Was this translation helpful? Give feedback.
All reactions