diff options
author | luxagraf <sng@luxagraf.net> | 2021-10-01 20:13:13 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2021-10-01 20:13:13 -0400 |
commit | 48cc6cecb880712e66108d6d9f0f93a04a323a09 (patch) | |
tree | acc70bd666445e2580b3e2e296367882f46bc111 /.config/qutebrowser/userscripts | |
parent | bf34a8a8492c0839a866d2b1739989cfc412e144 (diff) |
updated dotfiles to latest in sway setup
Diffstat (limited to '.config/qutebrowser/userscripts')
-rw-r--r-- | .config/qutebrowser/userscripts/twitter-to-nitter.js | 11 | ||||
-rw-r--r-- | .config/qutebrowser/userscripts/youtube-to-invidious.js | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.config/qutebrowser/userscripts/twitter-to-nitter.js b/.config/qutebrowser/userscripts/twitter-to-nitter.js new file mode 100644 index 0000000..b9ccc38 --- /dev/null +++ b/.config/qutebrowser/userscripts/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"); diff --git a/.config/qutebrowser/userscripts/youtube-to-invidious.js b/.config/qutebrowser/userscripts/youtube-to-invidious.js new file mode 100644 index 0000000..b51c506 --- /dev/null +++ b/.config/qutebrowser/userscripts/youtube-to-invidious.js @@ -0,0 +1,11 @@ +// ==UserScript== +// @name YouTube to Invidious redirector +// @namespace lxf userscripts +// @match http://youtube.com/* +// @match https://youtube.com/* +// @match http://www.youtube.com/* +// @match https://www.youtube.com/* +// @run-at document-start +// ==/UserScript== + +location.href=location.href.replace("www.youtube.com","invidious.fdn.fr"); |