Created
April 15, 2022 19:54
-
-
Save vmfunc/9604798b2903b3d7127a899d1feec772 to your computer and use it in GitHub Desktop.
Badge
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
window.addEventListener("load", function(){ | |
const vBadges = document.getElementsByClassName("verifiedBadge"); | |
if(vBadges.length > 0){ | |
for(const b of vBadges){ | |
const parentBadge = b.parentElement; | |
parentBadge.classList.add("verifiedBadgeParent"); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment