Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT-Auto-Resolution 🎵⚡

A Chrome & Brave browser extension designed for YouTube and YouTube Music listeners to automatically switch video resolutions based on tab focus state, saving internet data and system resources.

Manifest V3 License


🚀 Features

  • ⚡ Instant Resolution Switching: Automatically switches YouTube quality to your preferred high resolution (e.g. 1080p/720p) when viewing the tab, and instantly drops to 144p when you switch to another tab or minimize the browser.
  • 🎯 Smart Resolution Fallback: If a target resolution (e.g. 360p) is not available on a specific video, it intelligently applies the closest matching resolution (e.g. 480p) without interrupting playback.
  • 🎧 Audio-Only Priority Mode: Automatically locks videos to 144p when listening in background mode to save maximum bandwidth.
  • 🔌 Zero-Refresh Auto Connection: Automatically connects to pre-existing open YouTube tabs without needing manual page reloads.
  • 🎨 Sleek Dark Glassmorphism UI: Premium popup menu to customize focused tab quality, background tab quality, and live status tracking.

🛠️ Installation Guide

  1. Clone or download this repository:
    git clone https://github.com/siddupatel-00/YT-Auto-Resolution.git
  2. Open Chrome or Brave browser and navigate to chrome://extensions.
  3. Enable Developer mode in the top-right corner.
  4. Click Load unpacked and select the extension folder.

📁 File Structure

YT-Auto-Resolution/
├── manifest.json       # Manifest V3 specification
├── background.js       # Background service worker
├── content.js          # Isolated content script
├── inject.js           # Page context YouTube player API controller
├── popup/
│   ├── popup.html      # Glassmorphism UI layout
│   ├── popup.css       # Styling & theme variables
│   └── popup.js        # Options management & tab communication
└── icons/              # Extension icons (16x16, 48x48, 128x128)

📄 License

Distributed under the MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages