by tterrace · 13y ago · 0 comments
The page visibility api: http://www.w3.org/TR/2011/WD-page-visibility-20110602/ might be able to help with that.
For example, have a single, explicit 'scroll position' or 'time' variable (they're equivalent in this case), increment it on a timer, and insert new text when (time mod N) rolls over.