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

My version was

    var target = document.getElementByID("detector-events");

    setInterval(function(){target.click();}, 100);
I think I like yours better though.


one liner: var interval = setInterval(function(){document.querySelector('#detector-events').click()}, 100)




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

Search: