Better HN
topnewbestaskshowjobs
Log inSign up

sashasklar

-17 karma · joined Apr 26, 2014 (12y ago) · 4 submissions

Submissions

comment 12y ago · link · parent

Kinda. I use jQuery when it makes sense, and when I'm working on someone else's dime and time. Use vanilla JS for stuff like this, because why lose an opportunity to learn?

comment 12y ago · link · parent

Seriously?

  window.setInterval(function(){ Array.prototype.forEach.call(document.querySelectorAll('a'),function(i) {i.dispatchEvent(event)})},1000);