From 16d43ac60123eed6933437bb65905010ccf42044 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 25 Jun 2023 23:22:15 +0100 Subject: fix libreredirect, use true user agent. --- plugins/libre_redirect/libre_redirect.c | 4 ++-- rose | Bin 47936 -> 47928 bytes rose.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 8bafded..4e1021b 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -32,7 +32,7 @@ int libre_redirect(const char* uri, char* output) char* annoying_sites[] = { "https://www.reddit.com", "https://www.youtube.com", - "https://google.com" + "https://google.com", "https://medium.com", "https://translate.google.com", "https://www.bloomberg.com", @@ -43,7 +43,7 @@ int libre_redirect(const char* uri, char* output) char* alternatives[] = { "https://teddit.nunosempere.com", "https://yt.artemislena.eu", - "https://search.nunosempere.com" + "https://search.nunosempere.com", "https://scribe.rip", "https://translate.riverside.rocks/", "https://archive.is/https://www.bloomberg.com", diff --git a/rose b/rose index 915b680..80f5eb0 100755 Binary files a/rose and b/rose differ diff --git a/rose.c b/rose.c index bb6f6a0..5e05f4f 100644 --- a/rose.c +++ b/rose.c @@ -15,7 +15,7 @@ int LIBRE_REDIRECT_ENABLED = true; int READABILITY_ENABLED = true; int CUSTOM_STYLE_ENABLED = true; -int CUSTOM_USER_AGENT = true; +int CUSTOM_USER_AGENT = false; int NUM_TABS = 0; // to enable plugins, -- cgit v1.2.3