shithub: plan9front

Download patch

ref: 5ac3fa0257fcede4aa80d31e50551ed14ca9d997
parent: 2aba7615afdabfdef8e02d162ffee2ecdf3e39e9
author: Sigrid <ftrvxmtrx@gmail.com>
date: Tue Mar 2 02:41:02 EST 2021

mothra: "d": use lite version, disable redirect

--- a/sys/src/cmd/mothra/mothra.c	Tue Mar  2 02:21:56 2021
+++ b/sys/src/cmd/mothra/mothra.c	Tue Mar  2 02:41:02 2021
@@ -678,7 +678,7 @@
 	case 'd':
 		s = arg(s);
 		if(*s){
-			s = smprint("https://duckduckgo.com/html/?q=%U", s);
+			s = smprint("https://lite.duckduckgo.com/lite/?q=%U&kd=-1", s);
 			if(s != nil)
 				geturl(s, -1, 0, 0);
 			free(s);