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; }); }