tweak: fihnish the readability upgrades for bloomberg

This commit is contained in:
NunoSempere 2023-02-15 18:46:07 +01:00
parent 25dedb09e1
commit bcaad22c17
4 changed files with 13 additions and 3 deletions

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 84976 + 1 #define READABILITY_N 85156 + 100
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-browser/plugins/readability/readability.js", "r"); FILE *fp=fopen("/home/loki/Documents/core/software/fresh/C/rose-browser/rose-browser/plugins/readability/readability.js", "r");

View File

@ -1,7 +1,7 @@
#ifndef READABILITY #ifndef READABILITY
#define READABILITY #define READABILITY
#define READABILITY_N 84976 + 1 #define READABILITY_N 85156 + 100
void read_readability_js(char* string); void read_readability_js(char* string);

View File

@ -2345,6 +2345,16 @@ blockquote::before{
} }
a[href^="#footnote-"] {
text-decoration: none;
}
a[href^="#footnote-"]::before {
content:" [";
}
a[href^="#footnote-"]::after {
content:"] ";
}
</style>` </style>`
/* /*

View File

@ -4,5 +4,5 @@ function sedr(){
} ## e.g., sedr "s/target/replacement/g" } ## e.g., sedr "s/target/replacement/g"
READABILITY_N=$(wc -c readability.js | cut -d " " -f 1) READABILITY_N=$(wc -c readability.js | cut -d " " -f 1)
sedr "s/^#define READABILITY_N .*/#define READABILITY_N $READABILITY_N + 1/g" sedr "s/^#define READABILITY_N .*/#define READABILITY_N $READABILITY_N + 100/g"