在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:makaroni4/youtube_time_tracker开源软件地址:https://github.com/makaroni4/youtube_time_tracker开源编程语言:JavaScript 84.9%开源软件介绍:YouTube™ Time TrackerYouTube™ Time Tracker is a Chrome Extension that tracks time you spent on YouTube. It's important to notice that it uses only local chrome.storage API to store data and it does't send data anywhere Stored data formatAlthough local chrome.storage allows us to store up to 5 Mb of data extension keeps its data very simple, just JSON with 8 keys for current/previous time periods: {
"2019": 110.2, // year
"jan-2019": 110.2, // month
"2-2019": 110.2, // week (0-52)
"2019-01-13": 110.2, // today
"2018": 10294, // previous year
"dec-2018": 1248, // previous month
"1-2019": 159, // previous week
"2019-01-12": 91 // yesterday,
"time_watched": 10404.2 // total time watched,
"installed_at": "2019-01-01" // when extension was installed
} DevelopmentUse Then run Load extension folder to chrome://extensions/ via "Load unpacked":
TestingTo run tests use Tests are written with jest with a bunch of custom matchers and custom helper functions. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论