summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey/darkreader.js
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-11 20:24:50 +0100
committerAdam Stück <adam@adast.xyz>2023-03-11 20:24:50 +0100
commitf097131864719a366506811b5f1c64eca3df07f8 (patch)
tree37969b0967164d096541185e305d8d8fc479807d /.config/qutebrowser/greasemonkey/darkreader.js
parentaa14ee0d1bf0c8f701e567558fcc0cd5fbfe0c95 (diff)
qutebrowser: update darkreader.js
Exclude my nextcloud instance
Diffstat (limited to '.config/qutebrowser/greasemonkey/darkreader.js')
-rw-r--r--.config/qutebrowser/greasemonkey/darkreader.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/darkreader.js b/.config/qutebrowser/greasemonkey/darkreader.js
new file mode 100644
index 0000000..fa2eac1
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey/darkreader.js
@@ -0,0 +1,30 @@
+// ==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 *://cloud.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
+});