instakeeplay

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

ผู้เขียน
halilnevzat
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
13
คะแนน
1 0 0
เวอร์ชัน
1.03
สร้างเมื่อ
05-03-2025
อัปเดตเมื่อ
05-03-2025
Size
4 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

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