This extension will track your time on YouTube

Latest Version

Version
3.1.2
Update
August 28, 2024
Size
5.8MiB
Developer
Category
Users
3,000+
Rating
3.625 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
UnlimitedStorage
Identity
Downloads
See more

YouTube Tracker Extension

This extension will track your time on YouTube.

Two kind of time are recorded:
- The total time of opened videos.
- The time time of playing videos.

Those times can then be viewed by the popup icon showing you them as text and in a chart.

You can also choose to send those data to a server to be able to compare yourself with others.


# Changelog

## [3.1.2] - 2024-08-28

- Add support for youtube-nocookie

## [3.1.1] - 2023-08-10

- Fix chrome untrusted html

## [3.0.3] - 2022-12-29

- Fix chrome export to file

## [3.0.2] - 2022-11-20

- Domain name change

## [3.0.1] - 2022-04-03

- Update dependencies

## [3.0.0] - 2021-11-24

- Use manifest V3 for chrome

## [2.3.0] - 2020-10-24

- Update dependencies
- Exporting config asks where to save it
- Import data from Dropbox

## [2.2.6] - 2020-08-01

- Update dependencies

## [2.2.4] - 2019-12-13

- Update Amcharts to 4.7.14.
- Update libraries to those from their respective GitHub repositories.

## [2.2.3] - 2019-11-16

- Update Amcharts to 4.7.10.
- Do not count play time if less than 500ms.

## [2.2.2] - 2019-11-09

- Try to avoid sending watched time twice when switching video.
- Do not attempt to hook forever.
- If username is empty, send null to the server instead of `Anonymous`.

## [2.2.1] - 2019-11-08

- Update Amcharts to 4.7.8.
- Improve player detection.

## [2.2.0] - 2019-11-07

- Update Amcharts to 4.7.7.
- When watching a video across several days the time is split between these days instead of all being on the last day (#15).
- Added a button in the settings to export the data directly on Dropbox (#10).

## [2.1.3] - 2019-10-08

- Change the way tabs are opened from the popup.

## [2.1.2] - 2019-10-08

- Added the option to edit data that is rather high. This is a way to avoid having very high values from bugs that pollute the stats and chart (#11).

## [2.1.1] - 2019-10-07

This update is only for firefox and doesn't bring any changes for the user.

- Chnaged the file of library jQuery to match original SHA256 and avoid having its line endings going from `LF` to `CRLF`.

## [2.1.0] - 2019-10-07

- Added more detains in the option page to describe what the buttons do (#7).
- Added the option to import the YouTube watch history (#5).

## [2.0.2] - 2019-10-07

- Fixed #3, chrome popup being higher than it should.

## [2.0.1] - 2019-10-05

This update is only for firefox and doesn't bring any changes for the user.

- Removed unused library files in release file.

## [2.0.0] - 2019-10-05

- Major rework of the UI using Bootstrap 4.
- Fixed #1, stats having too many decimal places in the chart view.
- Fixed #2, firefox users not able to export data.
- Updated AmCharts
- Removed some libraries.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "YouTube Tracker", "short_name": "YTTracker", "description": "This extension will track your time on YouTube", "version": "3.1.2", "icons": { "16": "assets/icon16.png", "48": "assets/icon48.png", "128": "assets/icon128.png" }, "author": "Rakambda", "homepage_url": "https://github.com/Rakambda/YTTracker", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArlHZIpWVXeiGgvlg/O1XIOvR4wJfm4UVgjlq2YjMQZjPsH/ETsy18topZnnYjrszs7cdKdNP3Nx9t+n50lmQMHsw+BYfWJ4w4ydCQCxC6YD+ce//kOOQF3JFHyfNwka0/AGGa0MUkDXEAvG0qkFFe0ahfZ8UCTssXU8suPKN6PFQcGeOQ0JTCyd/J/a+uCybBagusBnpKloEMCdSFMNpvul5iv2Jo374e0KNFnxehS0BdKf6R2QVyVlg1ju10I5Pcmgrq9Y1qhBGa5Fs/DUs51tjiQF7ThUTZLeU1kL2Silo1I9DTHX820zhwLm+XGlstZIUS2gUMKeGUNb9Fca+hQIDAQAB", "permissions": [ "storage", "unlimitedStorage", "identity", "downloads" ], "optional_permissions": [ "notifications" ], "host_permissions": [ "https://youtube.com/*", "https://www.youtube.com/*", "https://youtube-nocookie.com/*", "https://www.youtube-nocookie.com/*", "https://yttracker.rakambda.fr/*" ], "options_page": "options.html", "action": { "default_icon": { "16": "assets/icon16.png", "24": "assets/icon48.png", "32": "assets/icon128.png" }, "default_popup": "popup.html", "default_title": "YoutubeTracker" }, "content_scripts": [ { "matches": [ "https://youtube.com/*", "https://www.youtube.com/*", "https://youtube-nocookie.com/*", "https://www.youtube-nocookie.com/*" ], "js": [ "lib/jquery/jquery.min.js", "js/YTTUtils.js", "js/content.js" ], "run_at": "document_start", "all_frames": true } ], "background": { "service_worker": "service_worker.js" }, "content_security_policy": { "script-src": "self", "object-src": "self" }, "web_accessible_resources": [{ "resources": [ "js/YTTUtils.js", "js/hookerUtils.js", "js/hooker.js" ], "matches": [ "https://youtube.com/*", "https://www.youtube.com/*", "https://youtube-nocookie.com/*", "https://www.youtube-nocookie.com/*" ] }]}
Read more