Track amount of time spent on YouTube videos for liesure and label YouTube timestamps for learning
Focus Extension Extension
This extension adds a button at the bottom of every YouTube video so that the user can bookmark and caption important time stamps. Bookmarks for each video can be viewed/removed in the \"Learning\" section of the extension.
The \"Leisure\" section of the extension aims to curb bad online habits by having the user decide the amount of time they spend on YouTube. The extension will automatically close the user's YouTube tab once the timer runs out. The user can keep track of their time by viewing the extension badge icon text (top right corer of their browser screen).
Read more
The \"Leisure\" section of the extension aims to curb bad online habits by having the user decide the amount of time they spend on YouTube. The extension will automatically close the user's YouTube tab once the timer runs out. The user can keep track of their time by viewing the extension badge icon text (top right corer of their browser screen).
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Focus Extension", "version": "0.1.0", "description": "Track amount of time spent on YouTube videos for liesure and label YouTube timestamps for learning", "permissions": ["storage", "tabs", "activeTab"], "host_permissions": ["https://*.youtube.com/*"], "background": { "service_worker": "scripts/background.js" }, "content_scripts": [ { "matches": ["https://*.youtube.com/*"], "js": ["scripts/contentScript.js"] } ], "web_accessible_resources": [ { "resources": [ "images/target.png", "images/bookmark.png", "images/submit.png", "images/submit2.png", "images/delete.png", "images/Github_white.png", "images/Gmail_white.png", "images/LinkedIN_white.png" ], "matches": ["https://*.youtube.com/*"] } ], "action": { "default_icon": "images/target.png", "default_title": "Focus Extension" }, "icons":{ "16": "images/target.png" }, "manifest_version": 3}
Read more