diff options
author | Adam Stück <adam@adast.xyz> | 2023-03-11 16:22:21 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-03-11 16:22:21 +0100 |
commit | aa14ee0d1bf0c8f701e567558fcc0cd5fbfe0c95 (patch) | |
tree | 24c5098dfda02239aada4ca02742c34a8ea3ff8c /.config/qutebrowser/greasemonkey/code.js | |
parent | e9b9610421073fc8b7a93c2083bfd4af3d9b3208 (diff) |
qutebrowser: added userscripts
Includes DarkReader (unofficial) and a few redirects to minimal, private
front-ends.
Diffstat (limited to '.config/qutebrowser/greasemonkey/code.js')
-rw-r--r-- | .config/qutebrowser/greasemonkey/code.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/code.js b/.config/qutebrowser/greasemonkey/code.js new file mode 100644 index 0000000..d28a85f --- /dev/null +++ b/.config/qutebrowser/greasemonkey/code.js @@ -0,0 +1,18 @@ +// ==UserScript== +// @name AnonymousOverflow +// @version 1.0 +// @match *://stackoverflow.com/* +// @match *://*.stackoverflow.com/* +// @grant none +// @run-at document-start +// ==/UserScript== + +(function () { + 'use strict'; + + var instances = [ + "code.whatever.social", + ]; + + top.location.hostname = instances[Math.floor(Math.random()*instances.length)]; +})(); |