redirect reddit + vitalik buterin's website

This commit is contained in:
NunoSempere 2024-03-29 16:40:13 -04:00
parent 7d6c478c9c
commit c4581f3fd5
3 changed files with 7 additions and 3 deletions

View File

@ -17,6 +17,7 @@ int libre_redirect(const char* uri, char* output)
} else { } else {
char* annoying_sites[] = { char* annoying_sites[] = {
"https://www.reddit.com", "https://www.reddit.com",
"https://vitalik.ca",
"https://www.youtube.com", "https://www.youtube.com",
"https://google.com", "https://google.com",
"https://medium.com", "https://medium.com",
@ -29,7 +30,10 @@ int libre_redirect(const char* uri, char* output)
}; };
char* alternatives[] = { 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://invidious.private.coffee",
"https://search.nunosempere.com", "https://search.nunosempere.com",
"https://scribe.rip", "https://scribe.rip",

View File

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define STYLE_N 7827 + 1000 #define STYLE_N 7830 + 1000
void read_style_js(char* string) void read_style_js(char* string)
{ {

View File

@ -1,5 +1,5 @@
#pragma once #pragma once
#define STYLE_N 7827 + 1000 #define STYLE_N 7830 + 1000
void read_style_js(char* string); void read_style_js(char* string);