Created
February 17, 2026 16:48
-
-
Save Tithen-Firion/e1144489eadde5219714bbf84d0ca160 to your computer and use it in GitHub Desktop.
Google before 2016
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 Google before 2016 | |
| // @version 1.0.0 | |
| // @match *://www.google.com/search?* | |
| // @grant none | |
| // ==/UserScript== | |
| const params = new URLSearchParams(document.location.search); | |
| let query = params.get("q"); | |
| if(!query.includes("before:2016")) { | |
| params.set("q", "before:2016 " + query); | |
| document.location.search = params.toString(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment