v1.0.0
First release.
Keeps Instagram videos and reels playing when you switch tabs or windows, and keeps automatic picture-in-picture live instead of frozen.
How it works:
- Spoofs the Page Visibility API so Instagram always sees the tab as visible
- Intercepts the visibility and focus-loss events before Instagram's listeners can react
- Drops programmatic pause() calls while the tab is genuinely backgrounded, so your own pauses keep working
Install: click instagram-background-play.user.js with a userscript manager installed (Tampermonkey, Violentmonkey, or Userscripts on Safari). Updates are picked up automatically.