Closed DoomDesign closed 8 years ago
Yep, CSS should always be more performant than jQuery, I think. Good idea, even if it's not as cool as the javascript solution :grin: I will create a css injection script and replace the javascript function as soon as I can.
To reduce the number of mutation observers and jQuery selections, we could use CSS attribute selectors - color all names with an id starting with a specific letter combination (they all seem to share the "UC" prefix). e.g.:
a.yt-user-name[data-ytid^="UCm"], a.yt-user-name[data-ytid^="UCz"], {color: #ABCDEF !important;}
objections?