diff options
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | src/main.ts | 2 |
3 files changed, 2 insertions, 8 deletions
@@ -5,9 +5,3 @@ DuckDuckGo's bang redirects are too slow. Add the following URL as a custom sear ``` https://stellarrounin.github.io/unkagi?q=%s ``` - -## How is it that much faster? - -DuckDuckGo does their redirects server side. Their DNS is...not always great. Result is that it often takes ages. - -I solved this by doing all of the work client side. Once you've went to https://unduck.link once, the JS is all cache'd and will never need to be downloaded again. Your device does the redirects, not me. @@ -26,7 +26,7 @@ /> <script defer - data-domain="unduck.link" + data-domain="stellarrounin.github.io/unkagi" src="https://plausible.io/js/script.js" ></script> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> diff --git a/src/main.ts b/src/main.ts index 8eff159..f6ebc43 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,7 +14,7 @@ function noSearchDefaultPageRender() { <input type="text" class="url-input" - value="https://unkagi.link?q=%s" + value="https://stellarrounin.github.io/unkagi?q=%s" readonly /> |
