aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-04-21 09:44:33 -0400
committerNunoSempere <nuno.sempere@protonmail.com>2023-04-21 09:44:33 -0400
commita4f8ad8ae2ac60b53c39feea90305d2f277eb319 (patch)
tree202fc8ff4681383114f491fdd1cd499c9d9578f2
parentf8b4e9ff4af49dc6ca328a4ee1deed8c0e1f0315 (diff)
tweak: continue cat and mouse chase with Matt Levine newsletter
-rw-r--r--config.h4
-rw-r--r--plugins/readability/readability.js9
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;
+ }
`
}