I don't think that's possible since these are actions performed on the client side. If you really want to, I think you could make a JavaScript that execute a website based on different actions.
If you just want to know if a user watch the page more than one time, the solution for you would be to use sessions.