Skip to content

kunal8670/fun_with_GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Auto Pause and Play Extension

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!

Features

  • 🎥 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.

How to Use the Extension

  1. Install the Extension:

    • Download the extension files from this repository.
    • Open your browser (Google Chrome or Edge) and navigate to chrome://extensions/ or edge://extensions/.
    • Enable Developer Mode (toggle at the top right).
    • Click Load Unpacked and select the folder containing the extension files.
  2. 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!

Want to Build Your Own?

  1. Clone this repository:

    git clone https://github.com/kunal8670/fun_with_GPT.git
  2. 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.
  3. Replace the icons:

    • Add your own icons in the icon.png file.
  4. Load the extension:

    • Follow the same process as in "How to Use the Extension."

Troubleshooting

If you encounter issues:

  • Ensure the extension is loaded correctly in the browser.
  • Check the permissions in the manifest.json file.
  • Open the Developer Console (Ctrl+Shift+I) and review any error messages.

Contributing

Feel free to submit pull requests or fork the project to add new features.


Disclaimer

This extension is for educational purposes. Use responsibly and ensure compliance with all applicable policies.


Enjoy multitasking like a pro! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors