News for hackers. Stuff that matters.

sashasklar

Re:Will you drown? on Saturday April 26, 2014 @05:05PM (#7652738)
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?
Re:Will you drown? on Saturday April 26, 2014 @02:27PM (#7652302)
Seriously?

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