summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey-available/dumb.js
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-04-30 21:29:16 +0200
committerAdam Stück <adam@adast.xyz>2023-04-30 21:59:58 +0200
commitd0ba640f674c18a9ae15aec23e80aeb9b6e4af71 (patch)
tree93d49d28be83be36ef13a65b3d2720ed75ae3345 /.config/qutebrowser/greasemonkey-available/dumb.js
parentb7b0887f88ffa4dd63a85aaa27d305db18555675 (diff)
qutebrowser: moved greasemonkey scripts
Intended usage is to symlink available scripts to .config/qutebrowser/greasemonkey/ (like nginx sites)
Diffstat (limited to '.config/qutebrowser/greasemonkey-available/dumb.js')
-rw-r--r--.config/qutebrowser/greasemonkey-available/dumb.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey-available/dumb.js b/.config/qutebrowser/greasemonkey-available/dumb.js
new file mode 100644
index 0000000..18507ea
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey-available/dumb.js
@@ -0,0 +1,19 @@
+// ==UserScript==
+// @name Dumb
+// @version 1.0
+// @description genius to dumb
+// @match *://genius.com/*
+// @match *://*.genius.com/*
+// @grant none
+// @run-at document-start
+// ==/UserScript==
+
+(function () {
+ 'use strict';
+
+ var instances = [
+ "sing.whatever.social",
+ ];
+
+ top.location.hostname = instances[Math.floor(Math.random()*instances.length)];
+})();