Last active
December 8, 2024 01:26
-
-
Save QEStudios/8e98b863c6de2a615a4438ecaed9f096 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey userscript to remove the YouTube seek bar pink gradient
This file contains hidden or 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 Remove YouTube Seek Bar Gradient | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-10-25 | |
// @description Removes the pink gradient from the YouTube seek bar | |
// @author SKM GEEK | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// addStyle function thanks to https://stackoverflow.com/a/33176845 | |
function addStyle(css) { | |
const style = document.getElementById("GM_addStyleBy8626") || (function() { | |
const style = document.createElement('style'); | |
style.type = 'text/css'; | |
style.id = "GM_addStyleBy8626"; | |
document.head.appendChild(style); | |
return style; | |
})(); | |
const sheet = style.sheet; | |
sheet.insertRule(css, (sheet.rules || sheet.cssRules || []).length); | |
} | |
addStyle ( ` | |
.ytp-cairo-refresh-signature-moments .ytp-play-progress { | |
background: var(--yt-spec-static-brand-red) !important; | |
} | |
` ); | |
})(); |
Anyone know how to fix the top loading bar? They made that one into a pink gradient as-well like the youtube seek bar.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is this now
HueTube firefox addon
https://addons.mozilla.org/en-US/firefox/addon/huetube/
Version 1.0
Released Sep 6, 2024 - 19.93 KB
Works with firefox 58.0 and later