summaryrefslogtreecommitdiff
path: root/.config/qutebrowser/greasemonkey/twitter-to-nitter.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/qutebrowser/greasemonkey/twitter-to-nitter.js')
-rw-r--r--.config/qutebrowser/greasemonkey/twitter-to-nitter.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey/twitter-to-nitter.js b/.config/qutebrowser/greasemonkey/twitter-to-nitter.js
new file mode 100644
index 0000000..b9ccc38
--- /dev/null
+++ b/.config/qutebrowser/greasemonkey/twitter-to-nitter.js
@@ -0,0 +1,11 @@
+// ==UserScript==
+// @name Twitter to Nitter redirector
+// @namespace mamg22's userscripts
+// @match http://twitter.com/*
+// @match https://twitter.com/*
+// @match http://www.twitter.com/*
+// @match https://www.twitter.com/*
+// @run-at document-start
+// ==/UserScript==
+
+location.href=location.href.replace("twitter.com","nitter.net");