Auto Pause and Resume for YouTube™

Pause YouTube player when page is hidden and resume when it is active again!

什么是Auto Pause and Resume for YouTube™?

Auto Pause and Resume for YouTube™是由MeryDev开发的Chrome扩展程序,该扩展的主要功能是“Pause YouTube player when page is hidden and resume when it is active again!”。

扩展截图

screenshot

下载Auto Pause and Resume for YouTube™扩展crx文件

下载Auto Pause and Resume for YouTube™扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Features:
- Automatically halts playback in a hidden YouTube tab.
- Automatically resumes playback when the tab regains focus.
- The option to deactivate the functionality via the action button (might have been hidden in the extension menu. If so you can pin the button to the toolbar area).

How it works:
A mini script is injected exclusively on YouTube pages to manage the player's play/pause status based on the visibility of the document. When a YouTube tab is brought to the forefront, the player automatically resumes, akin to hitting the play button. Conversely, when the document becomes hidden, the player automatically pauses, simulating the effect of pressing the pause button.

Sample scenario:
Imagine having multiple YouTube players across various tabs. Only the active player is in playback mode when focused, while all other players pause.

Change Log:
- Version 0.1.1: The extension can now be toggled on and off using the toolbar button, which is particularly handy for listening to YouTube videos in the background.
- Version 0.2.0: The extension now utilizes manifest v3 and requires Chrome version "95" or newer for the update to be applied.                    

扩展基本信息

名称 Auto Pause and Resume for YouTube™ Auto Pause and Resume for YouTube™
ID eahgapjcekpjmhkkdmfkfohnednkcekp
官方URL https://chromewebstore.google.com/detail/auto-pause-and-resume-for/eahgapjcekpjmhkkdmfkfohnednkcekp
简介 Pause YouTube player when page is hidden and resume when it is active again!
文件大小 41.63 KB
安装次数 1,138
当前版本 0.2.1
更新时间 2023-09-12
上架时间 2017-02-19
评分 4.25/5 共20次评分
开发者 MeryDev
电子邮箱 [email protected]
付费类型 free
扩展官网 https://webextension.org/listing/youtube-tools.html?from=auto-pause
帮助页面URL https://webextension.org/listing/youtube-tools.html?from=auto-pause
隐私政策页面URL https://add0n.com/policies/mery.dev.txt
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Auto Pause and Resume for YouTube\u2122",
    "description": "Pause YouTube player when page is hidden and resume when it is active again!",
    "version": "0.2.1",
    "manifest_version": 3,
    "permissions": [
        "storage",
        "scripting"
    ],
    "host_permissions": [
        "*:\/\/www.youtube.com\/*"
    ],
    "background": {
        "service_worker": "worker.js"
    },
    "action": [],
    "content_scripts": [
        {
            "matches": [
                "*:\/\/www.youtube.com\/*"
            ],
            "js": [
                "\/data\/inject.js"
            ],
            "run_at": "document_start",
            "all_frames": false
        }
    ],
    "homepage_url": "https:\/\/webextension.org\/listing\/youtube-tools.html?from=auto-pause",
    "icons": {
        "16": "\/data\/icons\/16.png",
        "32": "\/data\/icons\/32.png",
        "48": "\/data\/icons\/48.png",
        "64": "\/data\/icons\/64.png",
        "128": "\/data\/icons\/128.png",
        "256": "\/data\/icons\/256.png",
        "512": "\/data\/icons\/512.png"
    },
    "commands": {
        "_execute_action": []
    }
}