libredirect / browser_extension

A browser extension that redirects popular sites to alternative privacy friendly frontends
https://libredirect.github.io
GNU General Public License v3.0
3.28k stars 121 forks source link

en.wikipedia.org doesn't redirect to any wikiless instances. #399

Closed amogusussy closed 2 years ago

amogusussy commented 2 years ago

Wikipedia redirects all links to links with your language in the URL, stopping this extension from redirecting you to wikiless. For example, if you wanted to go to https://www.wikipedia.org/wiki/ThinkPad, it would redirect you to https://en.wikipedia.org/wiki/ThinkPad. Which stops the extension from detecting it as a wikipedia link. Could you make it so that all.wikipedia.org redirects to wikiless? Thank you.

AlyoshaVasilieva commented 2 years ago

When I click https://www.wikipedia.org/wiki/ThinkPad it redirects me to https://wikiless.org/wiki/ThinkPad just fine

IkelAtomig commented 2 years ago

IIRC, Wikipedia redirects are turned off by default.

IkelAtomig commented 2 years ago

You need to manually turn it on for redirection to work. Hope it helps.

iwakuraSSBM commented 2 years ago

I too am experiencing this issue. I have disabled all other add-ons and extensions and tested it and the issue still persists.

I can confirm that wikipedia.org links are redirecting to en.wikipedia.org (even after deleting all cookies for wikipedia.org) and it appears that this might be causing the issue. I have turned on wikipedia redirects in the libredirect settings and also added the toggle in the pop-up menu, for completion.

IkelAtomig commented 2 years ago

@iwakuraSSBM Can you make a screen capture and put it here ?

amogusussy commented 2 years ago

I've just realized that I've forgot to turn the wikipedia redirection on in the settings. it works now.

iwakuraSSBM commented 2 years ago

@iwakuraSSBM Can you make a screen capture and put it here ?

2022-08-02-125555_1907x1034_scrot

As you can see the page is resolving to en.wikipedia.org but curiously it presents a wikiless icon. uMatrix shows that all the wikiless instances are trying to be loaded but the redirect should happen before this page is ever reached. Here's another shot where libredirect is the only add-on working.

2022-08-02-125926_1916x601_scrot

iwakuraSSBM commented 2 years ago

Toggling all the wikipedia entries off and then back on one at time did not solve anything either.

ManeraKai commented 2 years ago

Does Disabling the extension completely fix this for you?

iwakuraSSBM commented 2 years ago

@ManeraKai Both disabling wikipedia in libredit and disabling the extension completely allows wikipedia to load normally.

ManeraKai commented 2 years ago

It's working for me even in incognito mode. Go to about:debugging#/runtime/this-firefox => Inspect for LibRedirect.

iwakuraSSBM commented 2 years ago

Here's the console output, you can see it is trying to redirect all the calls for resources, scripts, css etc but never the main url. 2022-08-03-154712_1907x946_scrot

ManeraKai commented 2 years ago

It's so similar to this one: https://github.com/libredirect/libredirect/issues/110

iwakuraSSBM commented 2 years ago

I tried to remove all site data related to anything wikipedia or wikiless related and the issue still persists.

IkelAtomig commented 2 years ago

@iwakuraSSBM Can you check in v2.3.0 and v2.3.1 (pull from source) ?

IkelAtomig commented 2 years ago

It seems like using uMatrix is causing this issue. uMatrix is unmaintained. I suggest you to remove it and see if the redirects works.

Better use uBlock Origin in Medium mode alone.

We are closing this issue as it is stale and no reply from author. Would be great to know if the issue is fixed.