Created
July 15, 2024 20:13
-
-
Save jlabs/b8600659cf87e7125c626fa6effdd852 to your computer and use it in GitHub Desktop.
Little script to make the videos under "Watch later" for Youtube a little more cleared to see.
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
// Get all the progress indicators | |
let progress = document.querySelectorAll('#progress'); | |
// Create an array from them | |
progress = Array.from(progress) | |
// Set all the text info cards to background of red | |
progress.map(p => p.parentElement.parentElement.parentElement.parentElement.nextElementSibling.style.backgroundColor = 'red') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment