Redirects Google Videos search queries to the equivalent Youtube search
// ==UserScript==
// @name Redirect Google Videos searches to Youtube
// @namespace https://www.youtube.com/
// @version 0.1
// @description Redirects Google Videos search queries to the equivalent Youtube search
// @author Jonathan Woolf
// @match *://www.google.com/search*tbm=vid*
// @grant none
// ==/UserScript==
// Get the search query from the Google Videos URL
const query = new URLSearchParams(window.location.search).get("q");
// Redirect to the equivalent Youtube search
window.location.replace(`https://www.youtube.com/results?search_query=${query}`);