summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey/disabled
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-11 16:22:21 +0100
committerAdam Stück <adam@adast.xyz>2023-03-11 16:22:21 +0100
commitaa14ee0d1bf0c8f701e567558fcc0cd5fbfe0c95 (patch)
tree24c5098dfda02239aada4ca02742c34a8ea3ff8c /.config/qutebrowser/greasemonkey/disabled
parente9b9610421073fc8b7a93c2083bfd4af3d9b3208 (diff)
qutebrowser: added userscripts
Includes DarkReader (unofficial) and a few redirects to minimal, private front-ends.
Diffstat (limited to '.config/qutebrowser/greasemonkey/disabled')
-rw-r--r--.config/qutebrowser/greasemonkey/disabled/darkreader.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/disabled/darkreader.js b/.config/qutebrowser/greasemonkey/disabled/darkreader.js
new file mode 100644
index 0000000..dccd3f0
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey/disabled/darkreader.js
@@ -0,0 +1,29 @@
+// ==UserScript==
+// @name Dark Reader (Unofficial)
+// @icon https://darkreader.org/images/darkreader-icon-256x256.png
+// @namespace DarkReader
+// @description Inverts the brightness of pages to reduce eye strain
+// @version 4.7.15
+// @author https://github.com/darkreader/darkreader#contributors
+// @homepageURL https://darkreader.org/ | https://github.com/darkreader/darkreader
+// @run-at document-end
+// @grant none
+// @include http*
+// @include qute*
+// @exclude *://discord.com/*
+// @exclude *://github.com/*
+// @exclude *://*sr.ht*/*
+// @exclude *://invidious.*
+// @exclude *://yewtu.be/*
+// @exclude *://teddit.*
+// @exclude *://search.adast.xyz/*
+// @exclude *://translate.bus-hit.me/*
+// @require https://cdn.jsdelivr.net/npm/darkreader/darkreader.min.js
+// @noframes
+// ==/UserScript==
+
+DarkReader.enable({
+ brightness: 100,
+ contrast: 100,
+ sepia: 0
+});