Last active
February 16, 2026 22:38
-
-
Save DeflateAwning/9b6e3b4ffbf06c70a4b68a6483c8a70f to your computer and use it in GitHub Desktop.
Hide ads on Startpage search results page and set title tag better
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 Startpage Search Upgrades | |
| // @namespace https://gist.github.com/DeflateAwning/9b6e3b4ffbf06c70a4b68a6483c8a70f | |
| // @version 0.3.1 | |
| // @description Hide ads on Startpage search results page and set title tag better | |
| // @author DeflateAwning | |
| // @include https://startpage.com/* | |
| // @include https://*.startpage.com/* | |
| // @run-at document-idle | |
| // @grant GM_addStyle | |
| // @license MIT | |
| // ==/UserScript== | |
| // Hide Ads. | |
| // Source: https://superuser.com/a/979579 | |
| GM_addStyle("div#adBlock { display: none !important }"); | |
| // Get search term from input | |
| const searchInput = document.querySelector("#q"); | |
| if (searchInput) { | |
| const searchTerm = searchInput.value; | |
| // Set title tag based on search | |
| document.title = `${searchTerm} | Startpage Results`; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment