From 0275bf81abb479fc2a671e66f3100718e5aab688 Mon Sep 17 00:00:00 2001 From: Flinner Date: Fri, 23 Jul 2021 16:09:54 +0300 Subject: [PATCH] feat: reddit->old.reddit, twitter->nitter --- .../share/qutebrowser/greasemonkey/old-reddit.js | 11 +++++++++++ .../qutebrowser/greasemonkey/twitter-to-nitter.js | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 qutebrowser/.local/share/qutebrowser/greasemonkey/old-reddit.js create mode 100644 qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js diff --git a/qutebrowser/.local/share/qutebrowser/greasemonkey/old-reddit.js b/qutebrowser/.local/share/qutebrowser/greasemonkey/old-reddit.js new file mode 100644 index 0000000..d6797ea --- /dev/null +++ b/qutebrowser/.local/share/qutebrowser/greasemonkey/old-reddit.js @@ -0,0 +1,11 @@ +// ==UserScript== +// @name reddit to old.reddit redirector +// @namespace mamg22's userscripts +// @match http://www.reddit.com/* +// @match https://www.reddit.com/* +// @match http://reddit.com/* +// @match https://reddit.com/* +// @run-at document-start +// ==/UserScript== + +location.href = location.href.replace("www.reddit.com", "old.reddit.com"); diff --git a/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js b/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js new file mode 100644 index 0000000..5e16620 --- /dev/null +++ b/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js @@ -0,0 +1,12 @@ +// ==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.kavin.rocks"); +