A Lightweight extension that displays the length of the current YouTube playlist

Latest Version

Version
0.1.10
Update
October 9, 2024
Size
77.65KiB
Developer
Category
Users
1,000+
Rating
4.47059 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

YouTube Playlist Length - Duration Display Extension

A Lightweight extension that displays the length of the YouTube playlist you are viewing or watching. It works on both the Playlist viewing page, and the watching page, blending in with YouTube's existing stats.

The display can be customized to your preference - these options are accessible from the extension's popup (as shown in the video above). Please leave your feedback and suggestions for any extra options you would like!

For playlists longer than 100 videos, you will need to scroll to the final video on the Playlist view page for a full calculation. Unfortunately this will not work on the watch page as YouTube only loads up to 400 videos.

Hover on the length displayed to view how many videos have been counted.

If you like the extension please submit a review!

Future plans:
- More complex displays, showing progress through playlist in a more visual way etc.
- More options (leave suggestions in your reviews!)
- Display on the YouTube mini player.

Known Bugs:
- None currently.

Please report any issues via my email listed below in the Details section!

Update Log:
0.1.10: Fix duration not showing in Private Playlist viewing pages.
0.1.9: Fix broken length display on Watch Page (was showing 00:00:00).
Fix Playlist Page not calculating the full length until scrolled for short playlists, only those
longer than 100 require a scroll now - this cannot be changed due to YouTube's
loading behavior.
Fix console errors when watching a video with no active playlist/ queue.
Fix wrong value being displayed when queue started while watching a video.
Fix wrong video index being used after rearranging active playlist (for remaining time after
current video).
Add an indicator to show that the full playlist's length has not been calculate (and further
details on hover.
0.1.8: Update 'YT' to 'YouTube' in listing name for better visibility.
More concise listing Description.
0.1.7: Add Promo Video.
Add Customization options: Hide seconds, Colon time format, Show duration remaining
after/including current video (only on watch page).
Fully style the extension Pop-up.
0.1.6: Add a basic popup UI, in preparation for new settings.
Slight change to listing name for improved reach.
New Store Images and Promo Tiles.
0.1.5: Fix NaN bug caused by Live and Premiere Videos.
Fix bug where length was not being displayed after navigating from regular watch page.
Add tooltip on hover to display how many videos have been counted in length.
Some display adjustments.
0.1.4: Implement Support for YouTube's new UI update.
Fix longstanding problem where page needs to be refreshed to display.
Sleeker appearance to blend in with existing stats.
Faster updating.
0.1.3: Add duration display to playlist viewing page. Some further optimizations.
0.1.2: Fix bug where duration is displayed twice.
Duration displays more reliably without having to refresh.
0.1.1: Improve reliability when switching between playlists.
0.1.0: Initial version.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "YouTube Playlist Length - Duration Display", "description": "A Lightweight extension that displays the length of the current YouTube playlist", "version": "0.1.10", "manifest_version": 3, "content_scripts": [ { "matches": [ "https://*.youtube.com/*" ], "js": [ "content.js" ] } ], "permissions": [ "storage" ], "action": { "default_popup": "./popup/popup.html" }, "icons": { "128": "./logo128.png", "48": "./logo48.png" }}
Read more