From f097131864719a366506811b5f1c64eca3df07f8 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 11 Mar 2023 20:24:50 +0100 Subject: qutebrowser: update darkreader.js Exclude my nextcloud instance --- .config/qutebrowser/greasemonkey/darkreader.js | 30 ++++++++++++++++++++++ .../greasemonkey/disabled/darkreader.js | 29 --------------------- 2 files changed, 30 insertions(+), 29 deletions(-) create mode 100644 .config/qutebrowser/greasemonkey/darkreader.js delete mode 100644 .config/qutebrowser/greasemonkey/disabled/darkreader.js 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 +}); diff --git a/.config/qutebrowser/greasemonkey/disabled/darkreader.js b/.config/qutebrowser/greasemonkey/disabled/darkreader.js deleted file mode 100644 index dccd3f0..0000000 --- a/.config/qutebrowser/greasemonkey/disabled/darkreader.js +++ /dev/null @@ -1,29 +0,0 @@ -// ==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 -}); -- cgit v1.2.3-70-g09d2