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

Indeed, according to http://www.w3schools.com/js/js_timing.asp, the first parameter of setTimeout should be a function. I don't know if "_gaq.push(['_trackEvent', '15_seconds', 'read'])" will be treated as a function.


Let's not link to w3schools... (http://www.w3fools.com/)

MDN is nice: https://developer.mozilla.org/en-US/docs/Web/API/window.setT...

And if you are using DuckDuckGo... "!js setTimeout" will redirect you to MDN.


Thank you very much for the link. I'll use this site from now on. It's sad MDN url is not returned first with a google query.


it would be passed into eval()




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: