This browser extension automatically pauses YouTube videos when you switch to another application and resumes them when you return. Perfect for multitaskers who don't want to miss a second of their favorite content!
- 🎥 Auto-Pause: Automatically pauses videos when you switch to another application.
▶️ Auto-Resume: Resumes videos when you return to the browser.- 💻 Lightweight and Easy-to-Use: A simple browser extension that works seamlessly in the background.
-
Install the Extension:
- Download the extension files from this repository.
- Open your browser (Google Chrome or Edge) and navigate to
chrome://extensions/oredge://extensions/. - Enable Developer Mode (toggle at the top right).
- Click Load Unpacked and select the folder containing the extension files.
-
Start Browsing:
- Visit YouTube and play a video.
- Switch to another application or minimize the browser, and the video will automatically pause.
- Return to the browser, and the video will resume playing!
-
Clone this repository:
git clone https://github.com/kunal8670/fun_with_GPT.git
-
Edit the source files as needed:
background.js: Manages browser tab events.content.js: Controls video play and pause logic.manifest.json: Defines permissions and metadata for the extension.
-
Replace the icons:
- Add your own icons in the
icon.pngfile.
- Add your own icons in the
-
Load the extension:
- Follow the same process as in "How to Use the Extension."
If you encounter issues:
- Ensure the extension is loaded correctly in the browser.
- Check the permissions in the
manifest.jsonfile. - Open the Developer Console (
Ctrl+Shift+I) and review any error messages.
Feel free to submit pull requests or fork the project to add new features.
This extension is for educational purposes. Use responsibly and ensure compliance with all applicable policies.