Time Spent on Youtube

A simple timer that shows how much time you spent on Youtube today.

نووسەر
marcodallagatta
Daily installs
0
Total installs
64
Ratings
1 0 0
وەشان
2022.08.30.07.46
Created
2022-07-13
Updated
2022-08-30
مۆڵەت
MIT
Applies to

Time Spent on YouTube Userscript

preview

A friend asked me to make a simple userscript to show how long she spends on YouTube every day. I decided to publish it here since it could easily be adapted to other websites without changing the logic.

The script refreshes every 15 seconds only when the YouTube tab is actually active. To make it count time even in background just change the background variable to true. The time it resets can also be configured inside the script.