Skip to content

Instantly share code, notes, and snippets.

@yttrian
Created January 24, 2024 06:25
Show Gist options
  • Save yttrian/d0a2dca2b57d3acd86662a0cd9756ab7 to your computer and use it in GitHub Desktop.
Save yttrian/d0a2dca2b57d3acd86662a0cd9756ab7 to your computer and use it in GitHub Desktop.
Windows Search to Google
// ==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