File: fix-duckduckgo-shortcut-in-dillorc.patch

package info (click to toggle)
dillo 3.0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 4,392 kB
  • sloc: cpp: 33,629; ansic: 19,436; sh: 4,006; makefile: 561; perl: 131
file content (16 lines) | stat: -rw-r--r-- 788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix DuckDuckGo shortcut to make result links working
Bug-Debian: https://bugs.debian/org/924357
Forwarded: no
Author: liftof+dbug@gmail.com

--- a/dillorc
+++ b/dillorc
@@ -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&q=%s&kd=-1"
 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"