From fc3af8a3b3af5e3cd35c9c6b075e71e9ce43eb69 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 11 Sep 2025 17:28:34 +0900 Subject: updates --- .../greasemonkey/csmonitor-text.css.js | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 mac/.qutebrowser/greasemonkey/csmonitor-text.css.js (limited to 'mac/.qutebrowser/greasemonkey/csmonitor-text.css.js') diff --git a/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js b/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js new file mode 100644 index 0000000..92a491d --- /dev/null +++ b/mac/.qutebrowser/greasemonkey/csmonitor-text.css.js @@ -0,0 +1,43 @@ +// ==UserScript== +// @name Christian Science Monitor Text Edition +// @include *://www.csmonitor.com/text_edition* +// ==/UserScript== + +/* ~/.config/qutebrowser/greasemonkey/csmonitor-text.css.js :: */ + +GM_addStyle(` + body, footer { + background: var(--color-bg) !important; + color: var(--color-fg) !important; + } + + div[data-field='summary'] { + color: var(--color-fg) !important; + } + + u { + text-decoration: none !important + } + + a, .content-title>* { + border: none !important; + transition: none !important; + -webkit-transition: none !important; + } + + a, footer a:visited, .top-navigation a:visited, a:visited.navbar-brand { + color: var(--color-heading) !important; + text-decoration: none !important; + } + a:visited { + color: var(--color-link) !important; + } + a:hover, footer a:hover, .top-navigation a:hover, a:hover.navbar-brand { + color: var(--color-active) !important; + } + + span[data-view='kicker'], h2 + small, .underlined, + .footer-logo, #issn, .footer-social-links { + display: none !important; + } +`); -- cgit v1.2.3