tweakÑ same some progress.

This commit is contained in:
NunoSempere 2022-12-15 20:44:53 +00:00
parent 38c5c0fb47
commit 0a7ab47224
4 changed files with 8 additions and 5 deletions

View File

@ -33,7 +33,8 @@ int libre_redirect(const char* uri, char* output){
"https://medium.com", "https://medium.com",
"https://translate.google.com", "https://translate.google.com",
"https://forum.effectivealtruism.org", "https://forum.effectivealtruism.org",
"https://www.bloomberg.com" "https://www.bloomberg.com",
"https://twitter.com"
}; };
char* alternatives[] = { char* alternatives[] = {
"https://yt.artemislena.eu", "https://yt.artemislena.eu",
@ -41,7 +42,8 @@ int libre_redirect(const char* uri, char* output){
"https://scribe.rip", "https://scribe.rip",
"https://simplytranslate.org/", "https://simplytranslate.org/",
"https://ea.greaterwrong.com", "https://ea.greaterwrong.com",
"https://archive.is/https://www.bloomberg.com" "https://archive.is/https://www.bloomberg.com",
"https://nitter.net"
}; };
int n = sizeof(annoying_sites)/sizeof(annoying_sites[0]); int n = sizeof(annoying_sites)/sizeof(annoying_sites[0]);
for(int i=0; i<n ; i++){ for(int i=0; i<n ; i++){

View File

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#define READABILITY_N 83750 #define READABILITY_N 83768
void read_readability_js(char* string){ void read_readability_js(char* string){
FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/plugins/readability/readability.js", "r"); FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-bud-personal/plugins/readability/readability.js", "r");

View File

@ -1,7 +1,7 @@
#ifndef READABILITY #ifndef READABILITY
#define READABILITY #define READABILITY
#define READABILITY_N 83750 #define READABILITY_N 83768
void read_readability_js(char* string); void read_readability_js(char* string);

View File

@ -2303,8 +2303,9 @@ var style_sheet_simple = `
<style type="text/css"> <style type="text/css">
body { body {
padding: 20px 150px 20px 150px; padding: 40px 200px 40px 200px;
background-color: "#FDFDFD"; background-color: "#FDFDFD";
font-size: 18px;
} }
#readOverlay { #readOverlay {