Hacker News new | ask | show | jobs
by naz 5592 days ago
Great minds and all. If you replace the html file in the screensaver bundle you can use yours (or mine) instead of the flash one.
1 comments

Instead of:

  window.setInterval(frame, 1000);
Do:

  window.setTimeout('window.setInterval(frame, 1000)', 999-(new Date()).getMilliseconds());
That way the seconds will be properly synchronized.
Instead of a string containing code, you should use an anonymous function.