Created
October 28, 2021 03:22
-
-
Save kfatehi/9655c29dd6e08e59e3067b2285d1d0fe to your computer and use it in GitHub Desktop.
Youtube Shorts Scrubber Bar - Adds back the scrubber bar for youtube shorts
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== | |
// @name Youtube Shorts Scrubber Bar - Adds back the scrubber bar for youtube shorts | |
// @namespace Violentmonkey Scripts | |
// @match https://www.youtube.com/shorts/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @require https://code.jquery.com/jquery-3.6.0.js | |
// @description 10/27/2021, 8:04:38 PM | |
// ==/UserScript== | |
setInterval(()=>{ | |
let vid = $('video') | |
if (!vid.attr('controls')) | |
vid.attr('controls', 'controls') | |
$('ytd-reel-player-header-renderer').css({visibility:'hidden'}) | |
}, 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment