A video play/pause timer for Youtube! Also serves as a sleep timer :)
YouTube Sleep Timer Extension
Tired of waking up to the podcast or music you were playing last night on Youtube? Long periods of listening time can not only affect your sleep quality, but will also damage your ears. This extension is here to help! Simply click and set a time for your Youtube or Youtube Music video to end, and relax!
--------------------------------Notes ------------------------------------
* Runs only when you are on Youtube and Youtube Music sites.
* Runs on manifest v3, please update your Chrome browser to the latest version for a smoother experience.
* If the video is paused, then the timer will set it on play; if the video is playing, then the timer will pause it once time is up.
* There is an arbitrary amount of delay for the timer due to Google's Alarms API restriction. This is something unavoidable when developing in Chrome's mv3 ecosystem, we would appreciate your understanding in this matter and not use the sleep timer as an accurate timer. If you would like to avoid the delay, please load the extension unpacked by following instructions here: https://github.com/snoringriceball/youtube-sleep-timer
* Please report any issues here -> https://github.com/snoringriceball/youtube-sleep-timer/issues
* See here for a list and explanation of the permissions we collect: https://github.com/snoringriceball/youtube-sleep-timer#readme
Read more
--------------------------------Notes ------------------------------------
* Runs only when you are on Youtube and Youtube Music sites.
* Runs on manifest v3, please update your Chrome browser to the latest version for a smoother experience.
* If the video is paused, then the timer will set it on play; if the video is playing, then the timer will pause it once time is up.
* There is an arbitrary amount of delay for the timer due to Google's Alarms API restriction. This is something unavoidable when developing in Chrome's mv3 ecosystem, we would appreciate your understanding in this matter and not use the sleep timer as an accurate timer. If you would like to avoid the delay, please load the extension unpacked by following instructions here: https://github.com/snoringriceball/youtube-sleep-timer
* Please report any issues here -> https://github.com/snoringriceball/youtube-sleep-timer/issues
* See here for a list and explanation of the permissions we collect: https://github.com/snoringriceball/youtube-sleep-timer#readme
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "author": "Snoring Riceball", "name": "YouTube Sleep Timer", "version": "2.3", "description": "A video play/pause timer for Youtube! Also serves as a sleep timer :)", "content_security_policy": { "default-src": "self" }, "minimum_chrome_version": "99", "permissions": [ "declarativeContent", "alarms", "scripting", "tabs", "storage" ], "host_permissions": [ "https://*.youtube.com/" ], "background": { "service_worker": "background.js" }, "action": { "default_title": "YouTube Sleep Timer", "default_popup": "popup.html", "default_icon": { "16": "images/greyscale_clock_16.png", "32": "images/greyscale_clock_32.png", "48": "images/greyscale_clock_48.png", "128": "images/greyscale_clock_128.png" } }, "icons": { "16": "images/clock_16.png", "32": "images/clock_32.png", "48": "images/clock_48.png", "128": "images/clock_128.png" }, "manifest_version": 3}
Read more