this question is different to this one, which detect if a browser is currently active.
I would like to detect more types of user behaviors, thing like
- read throughout the article from beginning to the end very quickly
- read throughout the article from beginning to the end slowly
- Read a few lines and leave
- search a keyword inside the article and read the part contains that keyword