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

Latest Version

Version
2.8.4
Update
February 1, 2024
Size
22.73KiB
Developer
ndevtk.github.io/writeups
Category
Users
177
Rating
4.57143 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Scripting
Idle
See more

AutoPause Extension

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/
Read more

Source 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}
Read more

Similar Extensions

icon

Video Auto Pause Extension · Productivity 177 41 ★ 96.16KiB

icon

Pause All Videos Extension · Productivity 177 10 ★ 8.06KiB

icon

GoldDust Extension · Productivity 177 1 ★ 9.56MiB

icon

Boss Hub | Link Extension · Productivity 177 1 ★ 490KiB

icon

TalkDo Agentic AI Web Assistant Extension · Productivity 177 4 ★ 2.46MiB

icon

SyntheticEye AI Detector Extension · Productivity 177 3 ★ 29.8KiB

icon

LumoSearch: Airbnb Review Summary & Search Extension · Productivity 177 2 ★ 49.99KiB

icon

JobJette - Free AI Job Search Copilot Extension · Productivity 177 1 ★ 1.2MiB

icon

Power DexBox Utility Extension · Developer Tools 177 1 ★ 10.12MiB

icon

ViZBL - Get To Know Your Friends Extension · Fun 177 10 ★ 7.39MiB

icon

Boss Hub | AskFile, ChatPDF Extension · Productivity 177 1 ★ 682KiB

icon

smartGPT Multi-Tab Extension Extension · Productivity 177 0 ★ 29.63KiB

icon

Tabsets.net Extension · Productivity 177 2 ★ 9.6MiB

icon

Vind: Keyboard Shortcuts for Every Website Extension · Productivity 177 3 ★ 1.52MiB

icon

YouTube Auto Pause Extension · Productivity 177 3 ★ 271KiB

icon

Apiary - Web Highlighter & Annotator Extension · Social & Communication 177 0 ★ 1.51MiB

icon

Ducking Extension - Ducking.id Extension · Productivity 177 13 ★ 1.88MiB

icon

AutoReview for Power Automate Extension · Developer Tools 177 2 ★ 4.96MiB

icon

Voiceline for Chrome Extension · Productivity 177 9 ★ 2.0MiB

icon

Auto Pause and Resume for YouTube™ Extension · Productivity 177 22 ★ 41.63KiB

icon

StoPlay Extension · Productivity 177 17 ★ 38.86KiB

icon

Plauser Extension · Fun 177 7 ★ 62.78KiB

icon

Midpage | AI overlays for case law Extension · Productivity 177 6 ★ 1.7MiB

icon

Camel Tabs Extension · Productivity 177 4 ★ 92.69KiB