GitHub - Fluphalicious/youtube-end-time-extension: An Extension for Safari that allows you to see what time the video you're watching ends. · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Fluphalicious
youtube-end-time-extension
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>7 Commits<br>7 Commits
.gitattributes
.gitattributes
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
content.js
content.js
icon-48.png
icon-48.png
icon-96.png
icon-96.png
manifest.json
manifest.json
View all files
Repository files navigation
YouTube End Time
A Safari extension that shows when the current YouTube video will end, displayed right inside the player's time bubble.
0:20 / 7:23 · ends 11:44pm
Automatically adjusts in real time for any playback speed, seeking, and works in fullscreen.
Installation
You'll need macOS with Xcode installed (free from the App Store).
1. Clone the repo
git clone https://github.com/Fluphalicious/youtube-end-time-extension.git<br>cd youtube-end-time
2. Open in Xcode
open *.xcodeproj
3. Build and run
Press ⌘R . This compiles the app and installs it — a small launcher window will open and redirect you to Safari's Extensions settings page.
4. Allow unsigned extensions
In Safari's menu bar: Develop → Allow Unsigned Extensions
If you don't see the Develop menu: Safari → Settings → Advanced → tick "Show features for web developers"
Note: you'll need to re-enable this each time you restart Safari.
5. Enable the extension
Safari → Settings → Extensions → tick YouTube End Time → set access to Allow on youtube.com .
Features
Displays end time inside YouTube's native time bubble — no extra clutter
Updates instantly when you change playback speed (0.25× → 2× and beyond)
Updates on seek
Works in fullscreen
Handles YouTube's single-page navigation between videos
Hides automatically for live streams
How it works
The extension injects a content script into YouTube pages that reads the video element's duration, currentTime, and playbackRate to calculate the wall-clock finish time, then appends it inside the .ytp-time-duration element in the player controls.
License
MIT
About
An Extension for Safari that allows you to see what time the video you're watching ends.
Topics
javascript
safari-extension
youtube
Resources
Readme
License
MIT license
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Releases
No releases published
Packages
Uh oh!
There was an error while loading. Please reload this page.
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
JavaScript<br>100.0%
You can’t perform that action at this time.