Created
January 24, 2024 06:25
-
-
Save yttrian/d0a2dca2b57d3acd86662a0cd9756ab7 to your computer and use it in GitHub Desktop.
Windows Search to Google
This file contains 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== | |
// @run-at document-start | |
// @name Windows Search to Google | |
// @namespace Violentmonkey Scripts | |
// @include http://*.bing.com/search?* | |
// @include https://*.bing.com/search?* | |
// @grant none | |
// @version 1.0 | |
// @author Ian | |
// @description 3/20/2023, 12:51:03 PM | |
// ==/UserScript== | |
const parameters = new URLSearchParams(window.location.search); | |
if (parameters.get("form") === "WSBEDG") { | |
location.replace("https://www.google.com/search?q=" + parameters.get("q")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment