Created
January 2, 2018 12:38
-
-
Save somidad/4089050d49230df1920a9001516fa241 to your computer and use it in GitHub Desktop.
Remove YouTube Red logo for 'Enhancer for YouTube'
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
var idLogoContainer = document.getElementById('logo-container') | |
var classLogoRed = idLogoContainer.getElementsByClassName('logo-red') | |
console.log(classLogoRed) | |
if (classLogoRed.length) { | |
var tag = classLogoRed[0] | |
console.log(tag) | |
tag.style.backgroundImage = 'none' | |
console.log(tag.style.background) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment