diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-11 00:41:36 +0100 |
---|---|---|
committer | rodarima <rodarima@gmail.com> | 2023-12-17 20:42:39 +0100 |
commit | b4f638bb6b38a646dd9e9bd035049361477a3120 (patch) | |
tree | a6196de26c7b115644c5a96690af09a6288b160a /dillorc | |
parent | 3e00bcbe563418be7322795bf72076dfe313817f (diff) |
Fix DuckDuckGo search links
The DuckDuckGo service that redirects the links from the search page is
returning a broken page for non-javascript browsers. They have a meta
refresh tag in the body, instead of in the head.
Adding the kd=-1 argument causes the DuckDuckGo search results to point
directly to the target page avoiding the redirection.
Based on this patch:
https://salsa.debian.org/debian/dillo/-/commit/ffbd4fc0e6cf94b3947d02766224c0e80344a017
Thanks: liftof+dbug@gmail.com
Thanks: Axel Beckert <abe@debian.org>
Bug-Debian: https://bugs.debian/org/924357
Diffstat (limited to 'dillorc')
-rw-r--r-- | dillorc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ # You can enable multiple search_url strings at once and select from among # them at runtime, with the first being the default. # (the prefix serves to search from the Location Bar. e.g. "dd dillo image") -search_url="dd DuckDuckGo (https) https://duckduckgo.com/lite/?kp=-1&q=%s" +search_url="dd DuckDuckGo (https) https://duckduckgo.com/lite/?kp=-1&kd=-1&q=%s" search_url="Wikipedia http://www.wikipedia.org/w/index.php?search=%s&go=Go" search_url="Free Dictionary http://www.thefreedictionary.com/%s" search_url="Startpage (https) https://www.startpage.com/do/search?query=%s" |