instakeeplay

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
halilnevzat
Denně instalací
0
Celkem instalací
13
Hodnocení
1 0 0
Verze
1.03
Vytvořeno
05. 03. 2025
Aktualizováno
05. 03. 2025
Size
4,0 KB
Licence
MIT
Spustit na

# 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!