instakeeplay

Prevents Instagram videos from pausing when switching tabs and adds a custom seek bar to all videos.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
halilnevzat
Daily installs
0
Total installs
13
Ratings
1 0 0
Version
1.03
Created
2025-03-05
Updated
2025-03-05
Size
4 KB
License
MIT
Applies to

# Instagram Video Enhancer

Enhances the Instagram video experience by preventing videos from pausing when switching tabs and adding a custom seek bar to all videos.

## Features

### 1. Prevent Video Pausing
- Overrides tab visibility detection so Instagram videos continue playing even when you switch tabs
- No more interruptions when multitasking across different browser tabs

### 2. Custom Seek Bar
- Adds a sleek, interactive seek bar to all Instagram videos
- Shows video progress with a blue progress indicator
- Click anywhere on the seek bar to jump to that position in the video
- Automatically updates as new videos load while scrolling
- Non-intrusive design with semi-transparent background

## How It Works

- **Tab Visibility Override**: Modifies `document.hidden` and `document.visibilityState` to trick Instagram into thinking the tab is always visible
- **Seek Bar Implementation**:
- Dynamically adds seek bars to all video elements
- Updates progress in real-time as videos play
- Uses a MutationObserver to detect and enhance new videos as they load
- **Styling**: Clean, modern look that blends with Instagram's interface

## Installation
1. Install a userscript manager like Tampermonkey or Greasemonkey
2. Click "Install" on this page
3. Visit Instagram and enjoy enhanced video playback!

## Notes
- Works on all Instagram pages with video content
- Automatically applies to new videos as you scroll
- No configuration needed - works out of the box
- Lightweight and efficient implementation

## Compatibility
- Tested with modern browsers (Chrome, Firefox, Edge)
- Requires a userscript manager extension

## Feedback
Found a bug or have a suggestion? Please report it in the Greasy Fork feedback section!