Force YouTube Desktop

Forces use of the Desktop version of YouTube

// ==UserScript==
// @name         Force YouTube Desktop
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  Forces use of the Desktop version of YouTube
// @author       TheTank20
// @license      Unlicense
// @match        https://m.youtube.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @run-at       document-start
// @grant        none
// ==/UserScript==
location.replace(`${window.location.href.replace("m.youtube.com","www.youtube.com")}${new URL(window.location.href).searchParams.toString()?"&app=desktop":"?app=desktop"}`);