您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A simple timer that shows how much time you spent on Youtube today.
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.