From a6d2cf6bad4a76bfc977a03131c0d97d455c5729 Mon Sep 17 00:00:00 2001 From: Cade Scroggins Date: Sun, 12 Feb 2023 11:59:04 -0800 Subject: [PATCH] remove suggestion script onload --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index af27840..1ca0c5c 100644 --- a/index.html +++ b/index.html @@ -550,6 +550,7 @@ const script = document.createElement('script'); document.querySelector('head').appendChild(script); script.src = `https://duckduckgo.com/ac/?callback=autocompleteCallback&q=${search}`; + script.onload = script.remove; }); }