Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save QEStudios/8e98b863c6de2a615a4438ecaed9f096 to your computer and use it in GitHub Desktop.
Save QEStudios/8e98b863c6de2a615a4438ecaed9f096 to your computer and use it in GitHub Desktop.
Tampermonkey/Greasemonkey userscript to remove the YouTube seek bar pink gradient
// ==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;
}
` );
})();
@jety89
Copy link

jety89 commented Nov 19, 2024

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

@jety89
Copy link

jety89 commented Nov 19, 2024

image
HueTube addon for Firefox

@Adulau2003
Copy link

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