webtimer
webtimer copied to clipboard
Timer stops when watching media content
The topic title isn't the best.
What I'm trying to say is that if you're watching a stream or any other content that does not involve using the mouse or keyboard, the Timer doesn't count it.
I know this is a feature that is used to detect AFK but if some media is playing maybe it should be counted?
It's useful to count the time spend of youtube/twitch.tv/hulu/...
Cheers
You can probably even base this off of tabs that are playing audio. This code could be helpful: https://github.com/jaredsohn/mutetab/blob/master/js/contentscript/detectaudiosources.js