Automatically pauses and resumes YouTube videos based on the tab's visibility.

Latest Version

Version
1.0
Update
July 1, 2024
Size
12.38KiB
Developer
Category
Users
15
Rating
1 ★
Manifest Version
3
Web Store Status
Languages Support
English (UK)
See more
Permissions
Tabs
See more

YouTube Automatic Pause/Play Extension

This Chrome extension automatically pauses and resumes YouTube videos based on the tab's visibility. When you switch to another tab while watching a YouTube video, the extension will automatically pause the video. When you switch back to the YouTube tab, the video will automatically resume playback.

Features:
Automatically pauses YouTube videos when the tab is hidden.
Automatically resumes YouTube videos when the tab becomes visible again.
Works seamlessly with the YouTube player, no additional setup is required.
Lightweight and efficient, with minimal impact on browser performance.
Easy to install and use, no complex configuration needed.

Installation:
Download the extension from the Chrome Web Store (link to be added later).
Open the Chrome browser and navigate to chrome://extensions/.
Enable \"Developer mode\" by toggling the switch in the top-right corner.
Click \"Load unpacked\" and select the directory containing the extension files.
The extension should now be installed and active.

Usage:
Once the extension is installed, it will automatically start working whenever you open a YouTube video in a tab. There are no additional steps required to use the extension.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "YouTube Automatic Pause/Play", "version": "1.0", "description": "Automatically pauses and resumes YouTube videos based on the tab's visibility.", "permissions": ["tabs"], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": ["*://www.youtube.com/*"], "js": ["content.js"] } ], "action": { "default_popup": "popup.html", "default_icon": { "16": "images/icon-16.png", "48": "images/icon-48.png", "128": "images/icon-128.png" } }, "icons": { "16": "images/icon-16.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }}
Read more