Fix twitter again

This commit is contained in:
Michel Roux 2023-07-31 08:49:17 +02:00
parent 1db3ad91cf
commit 804c2a174c

View File

@ -35,10 +35,7 @@ public class MainActivity extends Activity {
case "twitter.com":
case "t.co":
case "x.com":
fixedUrl = new URL(originalUrl.getProtocol(), "fxtwitter.com", originalUrl.getPort(), originalUrl.getFile());
break;
case "pixiv.net":
fixedUrl = new URL(originalUrl.getProtocol(), "ppxiv.net", originalUrl.getPort(), originalUrl.getFile());
fixedUrl = new URL(originalUrl.getProtocol(), "nitter.net", originalUrl.getPort(), originalUrl.getFile());
break;
default:
fixedUrl = originalUrl;