git: 9front

Download patch

ref: bd11dc64f6010c1e5edc7556b1485b04ec7fac38
parent: f080207b42ee01967e223ba4d9df0dedf476678b
author: Sigrid <ftrvxmtrx@gmail.com>
date: Tue Mar 2 03:41:02 EST 2021

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

--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -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);
--