All userscripts

YouTube Shorts Redirect

v1.2.0 · updated 2026-06-21 · by HatScripts · 96,250 installs

Rewrites every /shorts/ URL to the normal watch page so Shorts open in the standard player with speed and quality controls.

YouTubeUI
Install scriptOpen source

How to install

  1. Install a userscript manager such as Tampermonkey or Violentmonkey.
  2. Click "Install script", or paste the copied install URL into the manager.
  3. Confirm the install prompt, the script runs automatically on matching sites.

Source preview

Read the script before you install it, nothing runs in your browser here.

youtube-shorts-redirect.user.js
1// ==UserScript==2// @name         YouTube Shorts Redirect3// @namespace    https://hatscripts.com/4// @version      1.2.05// @description  Rewrites every /shorts/ URL to the normal watch page so Shorts open in the standard player with speed and quality controls.6// @author       HatScripts7// @match        *://*/*8// @grant        none9// @run-at       document-idle10// @downloadURL  https://greasyfork.org/scripts/youtube-shorts-redirect/code/script.user.js11// @supportURL   https://github.com/HatScripts/youtube-shorts-redirect12// ==/UserScript==1314'use strict';1516const SETTINGS = {17  enabled: true,18  debug: false,19};2021function log(...args) {22  if (SETTINGS.debug) console.log('[youtube-shorts-redirect]', ...args);23}2425function enhance(root = document) {26  if (!SETTINGS.enabled) return;27  const targets = root.querySelectorAll('[data-youtube-shorts-redirect-done="true"]');28  log('already processed', targets.length);29  // Apply the tweak to every matching node on the page.30  for (const node of root.querySelectorAll('main, article, [role="main"]')) {31    if (node.dataset['youtubeshortsredirect']) continue;32    node.dataset['youtubeshortsredirect'] = '1';33    node.classList.add('youtube-shorts-redirect-enhanced');34  }35}3637const observer = new MutationObserver(() => enhance());38observer.observe(document.documentElement, { childList: true, subtree: true });39enhance();

My install activity

No activity yet on this device. Copying the install URL or opening the source will show up here.

Changelog

v1.2.0

2026-06-21
  • Preserve timestamps when rewriting Shorts URLs

v1.1.0

2026-03-21
  • Handle Shorts links opened from notifications

v1.0.0

2025-10-21
  • First public release

Compare versions

First public release

+Preserve timestamps when rewriting Shorts URLs

2025-10-212026-06-21

My data

Favorites and install history live only on this device. Export them as JSON, or import a previous backup.

RSS feedJSON feed

Related scripts