# YT-Playlist-Length ![Example](Screenshot.png) A simple browser extension for people who use YouTube to watch courses. Displays total duration of any opened playlist at the top right corner of the page. ## Features 1. No Setup 2. No load - Consumes negligble amount of processing power 3. Auto-detect - Just open a playlist and it'll start the code. ## Demo ![Demo](demo.gif) ### ⚠ Note about the API Key Yes, the API key is visible — that’s because this is a 100% client-side project and hiding it is not technically possible. However, using my key is pointless. It’s tied to strict usage limits, domain restrictions, and quotas. If you’re trying to actually use the extension or build on top of it, just create your own key — it’s free and takes two minutes on [Google Cloud Console](https://console.cloud.google.com/apis/credentials). ## Install You can find the extension `.crx` file [here](https://github.com/MUmarShahbaz/YT-Playlist-Length/releases/tag/v1.0.0) **NOTE: Some browsers try to install directly and block the download. If you face an issue where you cannot download it from your browser, open the terminal in the download folder and use the following command** ```bash wget "https://github.com/MUmarShahbaz/YT-Playlist-Length/releases/download/v1.0.0/YT-Playlist-Length.crx" -O YT-Playlist-Length.crx ``` - On most browsers you can just use the the .crx file - On Chrome, you need to go a roundabout method. #### Chrome Installation - Download the `src/` folder from this repo - Open Extensions Manager on Chrome and enable developer mode - Choose the `Load Unpacked` feature, it'll ask you to open a folder - Open the `src/` folder you downloaded - Done