summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey-available/code.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/qutebrowser/greasemonkey-available/code.js')
-rw-r--r--.config/qutebrowser/greasemonkey-available/code.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey-available/code.js b/.config/qutebrowser/greasemonkey-available/code.js
new file mode 100644
index 0000000..d28a85f
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey-available/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)];
+})();