From aa14ee0d1bf0c8f701e567558fcc0cd5fbfe0c95 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 11 Mar 2023 16:22:21 +0100 Subject: qutebrowser: added userscripts Includes DarkReader (unofficial) and a few redirects to minimal, private front-ends. --- .config/qutebrowser/greasemonkey/teddit.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .config/qutebrowser/greasemonkey/teddit.js (limited to '.config/qutebrowser/greasemonkey/teddit.js') diff --git a/.config/qutebrowser/greasemonkey/teddit.js b/.config/qutebrowser/greasemonkey/teddit.js new file mode 100644 index 0000000..408e421 --- /dev/null +++ b/.config/qutebrowser/greasemonkey/teddit.js @@ -0,0 +1,26 @@ +// ==UserScript== +// @name Teddit +// @version 1.0 +// @description reddit to teddit +// @match *://reddit.com/* +// @match *://*.reddit.com/* +// @grant none +// @run-at document-start +// ==/UserScript== + +(function () { + 'use strict'; + + var instances = [ + "teddit.zaggy.nl", + "teddit.namazso.eu", + "reddit.lol", + "teddit.totaldarkness.net", + "teddit.adminforge.de", + "teddit.bus-hit.me", + "td.vern.cc", + "teddit.sethforprivacy.com" + ]; + + top.location.hostname = instances[Math.floor(Math.random()*instances.length)]; +})(); -- cgit v1.2.3-70-g09d2