From b32749aa6e495aedc286e9537a4ee664c467919c Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 21 Apr 2023 19:08:55 -0400 Subject: fix: zoom + forum.nunosempere.com, Matt Levine's newsletter --- plugins/readability/readability.js | 2 +- plugins/style/style.c | 2 +- plugins/style/style.h | 2 +- plugins/style/style.js | 7 +++++++ 4 files changed, 10 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/readability/readability.js b/plugins/readability/readability.js index 78a398d..9310961 100644 --- a/plugins/readability/readability.js +++ b/plugins/readability/readability.js @@ -2394,7 +2394,7 @@ if (document.domain == "archive.is" ){ iframe { display: none; } - #div[id^='stickyModal'] { + #div[id^='stickypbModal'] { display: none; } ` diff --git a/plugins/style/style.c b/plugins/style/style.c index 1010506..347ee3f 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@ #include #include #include -#define STYLE_N 1393 + 1 +#define STYLE_N 1505 + 1 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h index 5e5d76b..ab69b64 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 1393 + 1 +#define STYLE_N 1505 + 1 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index bc0540e..23f68a6 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -38,6 +38,13 @@ if (document.domain == "mail.proton.me" ){ } ` } +if (document.domain == "forum.nunosempere.com" ){ + styles = ` + body { + zoom: 0.625 !important; + } + ` +} if(styles != null){ var styleSheet = document.createElement('style') -- cgit v1.2.3