AutoPause

Pause other audio and video sources if audio is playing on active tab with automatic resume

什么是AutoPause?

AutoPause是由https://ndevtk.github.io/writeups开发的Chrome扩展程序,该扩展的主要功能是“Pause other audio and video sources if audio is playing on active tab with automatic resume”。

扩展截图

screenshot

下载AutoPause扩展crx文件

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

扩展使用说明

                        Browser extension to pause other audio and video sources if audio is playing on the active tab with automatic resume, fast forward and media controls.

Features:
- Automatic pause (per tab or new media)
- Optional automatic resume
- Global Fast forward
- ShadowDOM support
- Mark tab for automatic resume
- Custom media controls for play, pause, next, previous
- Shortcut to mark a tab as ignored
- Shortcut to rewind media in 30 second increments
- Pause media when muted and not visible
- Option to mute a tab when media is paused (Allows media switching without tab change using the unmute button)
- Ignore other tabs
- Mark window for autopause usage
- No permission mode :)

Code can be viewed at https://github.com/NDevTK/AutoPause under the MIT license.
Optional permissions are used so you can control what gets paused.

Security:
The extension may ask for access to websites that you add to its options page.
This is so the extension can receive media events like "play" "pause" and so it can control the media playbackRate it will also use the audible property of the tab which does not require any permission.

On websites that it has permission for where media elements are not added to the pages DOM the extension will insert a local script in the pages context to add it automatically.

Fingerprinting:
The use of this extension maybe detected by the website you use such as if the media gets paused on window.open

Firefox listing: https://addons.mozilla.org/en-US/firefox/addon/autopause/                    

扩展基本信息

名称 AutoPause AutoPause
ID bcecldolamfbkgokgpnlpmhjcijglhll
官方URL https://chromewebstore.google.com/detail/autopause/bcecldolamfbkgokgpnlpmhjcijglhll
简介 Pause other audio and video sources if audio is playing on active tab with automatic resume
文件大小 22.73 KB
安装次数 34
当前版本 2.8.4
更新时间 2024-02-01
上架时间 2023-09-02
评分 5.00/5 共2次评分
开发者 https://ndevtk.github.io/writeups
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/NDevTK/AutoPause
隐私政策页面URL https://ndevtk.github.io/writeups/privacy
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "AutoPause",
    "version": "2.8.4",
    "description": "Pause other audio and video sources if audio is playing on active tab with automatic resume",
    "content_security_policy": {
        "extension_pages": "default-src 'none'; script-src 'self'; frame-ancestors 'none'; form-action 'none'; upgrade-insecure-requests; block-all-mixed-content"
    },
    "cross_origin_embedder_policy": {
        "value": "require-corp"
    },
    "cross_origin_opener_policy": {
        "value": "same-origin"
    },
    "commands": {
        "gotoaudible": {
            "suggested_key": {
                "default": "Alt+K",
                "mac": "Alt+K"
            },
            "description": "Go to tab with audio"
        },
        "disableresume": {
            "description": "Toggle auto resume"
        },
        "toggleFastPlayback": {
            "suggested_key": {
                "default": "Alt+Q",
                "mac": "Alt+Q"
            },
            "description": "Toggle fast playback"
        },
        "Rewind": {
            "description": "Rewind"
        },
        "pauseoninactive": {
            "suggested_key": {
                "default": "Alt+I",
                "mac": "Alt+I"
            },
            "description": "Toggle pause on inactive"
        },
        "backgroundaudio": {
            "suggested_key": {
                "default": "Alt+O",
                "mac": "Alt+O"
            },
            "description": "Set tab to play when nothing else is"
        },
        "togglePlayback": {
            "description": "Toggle media playback"
        },
        "next": {
            "description": "Go to end of media"
        },
        "previous": {
            "description": "Go to start of media"
        },
        "ignoretab": {
            "description": "Ignore a tab"
        },
        "previoustab": {
            "description": "Play media from previous tab"
        },
        "autopausewindow": {
            "description": "Limit autopause usage to a window"
        }
    },
    "permissions": [
        "storage",
        "scripting",
        "idle"
    ],
    "background": {
        "service_worker": "background.js"
    },
    "icons": {
        "48": "icon48.png"
    },
    "options_ui": {
        "page": "options.html",
        "open_in_tab": false
    },
    "optional_host_permissions": [
        ""
    ],
    "manifest_version": 3
}