Created
June 11, 2026 13:35
-
-
Save Delnegend/20f4349d9e714229c670620959a020b4 to your computer and use it in GitHub Desktop.
Always-enabled Kagi Quick Answer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Kagi Search URL Modifier | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Always-enabled Quick Answer | |
| // @author You | |
| // @match https://kagi.com/search* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| // Get the current URL | |
| const currentUrl = window.location.href; | |
| // Check if URL starts with https://kagi.com/search and doesn't already end with %3F | |
| if (currentUrl.startsWith('https://kagi.com/search') && !currentUrl.endsWith('%3F')) { | |
| // Append %3F to the end and redirect | |
| const newUrl = currentUrl + '%3F'; | |
| window.location.replace(newUrl); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment