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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

Advertisement:

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!)

Advertisement:

Tác giả
sansan0
Cài đặt hàng ngày
0
Số lần cài đặt
4
Đánh giá
0 0 0
Phiên bản
3.0
Đã tạo
14-05-2025
Đã cập nhật
14-05-2025
Kích thước
30 KB
Giấy phép
GPL-3.0 License
Áp dụng cho
Tất cả trang web

如果你不小心偶遇 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. 通过以下方式使用:
    • 查看实时计时
    • 拖拽调整位置
    • 双击收缩/展开显示框
    • 点击"查看统计"按钮查看详细数据