// Firefox Settings -> Search -> Add -> Advanced -> Suggestions URL Deno.serve((req) => { const q = new URL(req.url).searchParams.get("q") ?? ""; console.log({q}) const response = []; if (q.length > 5) { response.push("this search sucks") response.push("suggestions terminated") } return new Response(JSON.stringify([ q, response ])); });