From a4f8ad8ae2ac60b53c39feea90305d2f277eb319 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 21 Apr 2023 09:44:33 -0400 Subject: tweak: continue cat and mouse chase with Matt Levine newsletter --- config.h | 4 ++-- plugins/readability/readability.js | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 27ed47b..cd7b4c2 100644 --- a/config.h +++ b/config.h @@ -11,13 +11,13 @@ #define ROSE_HOMEPAGE true #define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://lite.duckduckgo.com/html" #define SEARCH "https://search.nunosempere.com/search?q=%s" // "https://lite.duckduckgo.com/html/?q=%s" -#define CACHE_DIR "/home/loki/.cache/rose" +#define CACHE_DIR "/home/root/.cache/rose" #define WIDTH 1920 #define HEIGHT 1080 #define SEARCH_BAR_SIZE 1200 #define KEY(x) GDK_KEY_##x -#define ZOOM 1.4 /* Starting zoom level.*/ +#define ZOOM 1 /* Starting zoom level.*/ #define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */ #define BG_COLOR "#FEFEFE" /* "FEFEFE", "#1E1E2E" */ #define DEBUG false diff --git a/plugins/readability/readability.js b/plugins/readability/readability.js index 0532bba..78a398d 100644 --- a/plugins/readability/readability.js +++ b/plugins/readability/readability.js @@ -2386,10 +2386,17 @@ if (document.domain == "archive.is" ){ display: none !important; } + /* Matt Levine's Money Stuff specific stuff: */ + p > span > em { display: none !important; } - /* ^ deletes the subscribe prompt in Matt Levine's Money Stuff. */ + iframe { + display: none; + } + #div[id^='stickyModal'] { + display: none; + } ` } -- cgit v1.2.3