website-time-tracker

用于追踪和统计用户在每个二级域名下的在线时长,并提供友好的可视化统计界面

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
sansan0
Daglige installationer
0
Installationer i alt
3
Bedømmelser
0 0 0
Version
3.0
Oprettet
14.05.2025
Opdateret
14.05.2025
Size
30,5 kB
Licens
GPL-3.0 License
Gælder for
Alle hjemmesider

如果你不小心偶遇 bug,可以提 issues 让我瞧瞧, 如果项目凑活的帮到你了,麻烦点个 star ⭐ 给到我点更新的动力呗~

https://github.com/sansan0/useful-userscripts

website-time-tracker

用于追踪和统计用户在每个二级域名下的在线时长,并提供友好的可视化统计界面(比如 www.bilibili.com 与 space.bilibili.com 是同一个计时器)

主要功能

  • [x] 实时统计当日在线时长
  • [x] 数据使用 GM_setValue 持久化存储
  • [x] 支持同一个二级域名下的时间累计
  • [x] 悬浮固定显示框
    • 显示当日累计在线时长
    • 支持拖拽定位
    • 支持双击收缩/展开
  • [x] 时间格式化显示
    • 自动转换为时分秒格式
    • 实时更新显示
  • [x] 图表化数据展示(精确到分钟)
  • [x] 支持查看历史统计

安装和使用

  1. 安装 Tampermonkey 浏览器扩展
  2. 安装该脚本到 Tampermonkey
  3. 访问任意网页即可在右上角看到计时器
  4. 通过以下方式使用:
    • 查看实时计时
    • 拖拽调整位置
    • 双击收缩/展开显示框
    • 点击"查看统计"按钮查看详细数据