Y
Hacker News
new
|
ask
|
show
|
jobs
by
krapp
3106 days ago
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