From c4581f3fd5e8b54d736841c9e504a6eeb164c44c Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 29 Mar 2024 16:40:13 -0400 Subject: [PATCH] redirect reddit + vitalik buterin's website --- plugins/libre_redirect/libre_redirect.c | 6 +++++- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 55ddb84..37a030c 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -17,6 +17,7 @@ int libre_redirect(const char* uri, char* output) } else { char* annoying_sites[] = { "https://www.reddit.com", + "https://vitalik.ca", "https://www.youtube.com", "https://google.com", "https://medium.com", @@ -29,7 +30,10 @@ int libre_redirect(const char* uri, char* output) }; char* alternatives[] = { - "https://old.reddit.com", // "https://teddit.nunosempere.com", + "https://redlib.cow.rip", + // previously: "https://old.reddit.com", "https://teddit.nunosempere.com", + // https://github.com/redlib-org/redlib-instances/blob/main/instances.md + "https://vitalik.eth.limo", "https://invidious.private.coffee", "https://search.nunosempere.com", "https://scribe.rip", diff --git a/plugins/style/style.c b/plugins/style/style.c index f8734ca..b6cf607 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 7827 + 1000 +#define STYLE_N 7830 + 1000 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index 112a61b..4c9f7a1 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,5 +1,5 @@ #pragma once -#define STYLE_N 7827 + 1000 +#define STYLE_N 7830 + 1000 void read_style_js(char* string);