AutoPause

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

What is AutoPause?

AutoPause is a Chrome extension developed by https://ndevtk.github.io/writeups, and its main feature is "Pause other audio and video sources if audio is playing on active tab with automatic resume".

Extension Screenshots

screenshot

Download AutoPause Extension CRX File

Download AutoPause extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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/                    

Extension Basic Information

Name AutoPause AutoPause
ID bcecldolamfbkgokgpnlpmhjcijglhll
Official URL https://chromewebstore.google.com/detail/autopause/bcecldolamfbkgokgpnlpmhjcijglhll
Description Pause other audio and video sources if audio is playing on active tab with automatic resume
File Size 22.73 KB
Installation Count 34
Current Version 2.8.4
Last Updated 2024-02-01
Publish Date 2023-09-02
Rating 5.00/5 Total 2 Ratings
Developer https://ndevtk.github.io/writeups
Email [email protected]
Payment Type free
Extension Website https://github.com/NDevTK/AutoPause
Privacy Policy Page URL https://ndevtk.github.io/writeups/privacy
Supported Languages 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
}