diff options
Diffstat (limited to '.config/qutebrowser/greasemonkey/teddit.js')
-rw-r--r-- | .config/qutebrowser/greasemonkey/teddit.js | 26 |
1 files changed, 26 insertions, 0 deletions
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)]; +})(); |