From bb0a8fbbf7879cb8cc15751e908de90c60694248 Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Thu, 14 Jul 2022 13:49:09 +0300 Subject: [PATCH] feat: qutebrowser change nitter instance, more search engines --- qutebrowser/.config/qutebrowser/config.py | 3 +++ .../.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 31caa35..5db433d 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -2024,7 +2024,10 @@ c.tabs.show = 'multiple' ## Type: Dict c.url.searchengines = {'DEFAULT': 'https://searx.neocities.org/?q={}', 'wa':"https://wiki.archlinux.org/?search={}", + 'aur': + "https://aur.archlinux.org/packages?O=0&SeB=nd&K={}&outdated=&SB=p&SO=d&PP=50&submit=Go", 'go':"http://google.com/search?q={}", + 'ar':"http://web.archive.org/web/*/{}", 'ddg':"https://duckduckgo.com/?q={}", } diff --git a/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js b/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js index 5e16620..9393862 100644 --- a/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js +++ b/qutebrowser/.local/share/qutebrowser/greasemonkey/twitter-to-nitter.js @@ -8,5 +8,5 @@ // @run-at document-start // ==/UserScript== -location.href=location.href.replace("twitter.com","nitter.kavin.rocks"); +location.href=location.href.replace("twitter.com","nitter.net");