Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately, document.getElementsByClassName isn't universally supported[0], so even if you wanted to do it that way, it still wouldn't be that easy. Never is.

[0]https://caniuse.com/#feat=getelementsbyclassname



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: