This Chrome extension automatically pauses YouTube videos when you switch tabs or when the YouTube tab loses focus. It helps save resources and reduce distractions by pausing videos when you're not actively watching.
- Automatically pauses YouTube videos when the tab is inactive.
- Helps to save resources and reduce distractions.
- Clone or download the repository.
- Go to
chrome://extensions/
, enable Developer mode, and click Load unpacked. - Select the folder containing the extension files to install it.
-
Clone or Download the Repository:
- Visit the GitHub repository.
- To clone the repository, open a terminal and run the following command:
git clone https://github.com/Keshav-Chaudhary/AutoYoutubePause.git
- Alternatively, you can download the project as a ZIP file directly from GitHub by clicking on the "Code" button and selecting Download ZIP. Then, extract the contents to a folder of your choice.
-
Enable Developer Mode in Chrome:
- Open Google Chrome and navigate to
chrome://extensions/
in the address bar. - At the top right of the Extensions page, toggle the Developer mode switch to ON.
- Open Google Chrome and navigate to
-
Load the Unpacked Extension:
- Click the "Load unpacked" button.
- A file dialog will appear. Select the folder where you cloned or extracted the repository files.
- Once selected, the extension will be installed and will appear on the Extensions page in Chrome.
-
Enable the Extension:
- Ensure that the extension is enabled by checking that the toggle next to the extension's entry is switched on.
- You should now see the extension icon (likely a small logo) on your Chrome toolbar.
-
Using the Extension:
- The extension will automatically pause any YouTube videos when you switch tabs or when the tab containing YouTube loses focus.
- No further action is required once installed.
- Customizable Pause Delay: Allow users to adjust the delay before pausing a video when switching tabs.
- Whitelist Feature: Enable users to exclude specific websites or YouTube channels from auto-pausing.
- Pause on Window Minimize: Pause videos when the browser window is minimized or loses focus.
- Instant Video Resume: Provide an option to instantly resume video playback upon returning to the tab.
- Pause on Focus Loss: Pause videos when the entire browser window loses focus (e.g., when switching to another application).
- Keyboard Shortcuts: Introduce customizable keyboard shortcuts for manual video pause and resume.
- Support for Multiple Videos: Ensure all videos within a tab are paused when the tab becomes inactive.
- Improved Extension Compatibility: Enhance compatibility with other popular video-related extensions.
- Dark Mode Support: Implement dark mode compatibility for a consistent user experience.
- Mobile Device Support: Extend functionality to Chrome on Android devices.
- Usage Analytics: Introduce an optional feature for users to send anonymous usage data to improve the extension.
These updates aim to enhance the functionality, flexibility, and user experience of the extension across different platforms and use cases.