-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirection exceptions on reddit subdomains are suddenly ignored #978
Comments
How are you able to redirect to old.reddit.com using teddit? |
Under settings > services, select reddit as the service, teddit as its frontend and delete every default url under the instances. Then add old.reddit.com. Teddit was not selected at random. This image url for instance libreddit and redlib > So yea, teddit was selected as the redirection frontend by trial and error. But this is not the real issue here. |
It will give you errors, and more errors in the future. The redirection is not wrong. It's just designed for teddit. We even redirect from old.reddit.com and thus it will create an infinite loop till the browser cuts it. |
About that. Firefox has that issue here, although it uses the same configuration as brave (exported from brave > imported to firefox). It can not open reddit links while the addon is active. I had mentioned that on the first issue I opened here (#310), but I got no reply back then. However, all that is offtopic now. The real issue is that libredirect 2.9.1 no longer respects my exceptions for reddit, and I do not know why. It does respect the one for music.youtube.com. I do redirect youtube to yewtu.be, but I do not want to redirect any music youtube link to beatbump because it (as a frontend) is broken and plays nothing. |
I think this should be better explained. When you add a URL exception, it would see if it's the exact same. Ex: However, if you added a Regex exception, you can do whatever you want, Ex: regex101.com will help you. |
It could be that chromium browsers cut this infinite loop, but use the last url and load the page, unlike firefox. |
Correct me if I am wrong, but isn't the url option there so that someone does not have to mess with regex? I set For that reason, I removed 2.9.1, manually installed 2.9.0 , configured it to exclude Last but not least, your suggested regex does work with 2.9.1. |
No. |
First of all, since the chromium based browsers do not have an option that disables addon updates, the addon got upgraded to 2.9.1 today and it is broken again. In my eyes, the url-based exceptions are broken on 2.9.1. If you have any suggestion on a site + frontend combination to test it, please tell me. |
I think there should be a way to ask the user if he wants to exclude all the sub-paths under the excepted url. |
In order to not have 3 exceptions (for i, v, and preview.redd.it), is there a regex that can exclude all 3 at once? I tried |
This asterisk is a regex symbol. |
Well, the asterisk may be a regex symbox, but Thank you for the complex regex that disables all 3. |
Sorry, the asterisk alone is not a proper symbol, it should be |
Sorry for bringing this back to the surface, but how can I fix the broken redirection on this url which leads to a single comment? From here |
This is not a correct old.reddit permalink, the correct link if should be https://old.reddit.com/r/debian/comments/1fypmbi/google_chrome_and_youtube_quality/lqvw83t/ which redirects properly. |
That is what I mean. This |
I have to change the code of redlib for this to work, but we don't support old.reddit, so. |
My redirection to old.reddit is set to use teddit as the frontend, I think I explained the reasons above. |
I forgot. Why don't you use Old Reddit Redirect? |
As I said when I opened my first issue here, 2.5+ years ago
This means that I still use one addon for all those sites, and that is libredirect. Offtopic, but bibliogram went eol since then :( |
I use libredirect to redirect any reddit page from the bloated with js
www.reddit.com
domain toold.reddit.com
because it is snappier. I do not use it to redirect to any teddit/libreddit/redlib/eddrit instance because almost all of them are slow and others die from time to time.The "syntax" follows the one for the teddit frontend, which is the default, so this
www.reddit.com/r/debian
becomes thisold.reddit.com/r/debian
.For that reason, I have the exceptions you see below for the
redd.it
domain, which is used for the images of reddit (the following is part of the exported json file).And it worked fine for many years. But since yesterday, it redirects me to this login stupidity
https://old.reddit.com/login/?dest=https%3A%2F%2Fold.reddit.com%2Fsubmit%3Furl%3Dhttps%253A%252F%252F5jur8ayugckd1.jpeg%253Fteddit_proxy%253Di.redd.it
or to this missing image.
https://old.reddit.com/l17e9jtgw6kd1.png?teddit_proxy=i.redd.it
What am I doing wrong? Do I need to change to something else because teddit or the addon has changed something?
Debian testing/unstable x64, brave 1.69.x and libreddit 2.9.1, taken from the chrome web store.
The text was updated successfully, but these errors were encountered: