Instagram Slideshow With Custom Time

autoclicks the next button smartly to feel like slideshow

目前為 2025-03-02 提交的版本,檢視 最新版本

作者
harsh kumar
評價
0 0 0
版本
1.0
建立日期
2025-03-02
更新日期
2025-03-02
尺寸
6.8 KB
授權條款
MIT
腳本執行於

Script Description

Instagram slideshows by automatically navigating through photos and videos.

Features:

1.Toggleable slideshow with a custom delay between slides.

2.Supports both new and old Instagram "Next" button designs.

3. *Handles videos by waiting for them to play twice before proceeding.

4.Customizable delay time via an input field.

5.Logs actions and errors for debugging.

Usage:

Adds a "Slideshow" button to the page for enabling/disabling the feature.

Allows users to set a custom delay in seconds.

Automatically detects and navigates through media in a slideshow.

Technical Details:

Uses MutationObserver to detect DOM changes and trigger navigation.

Implements debouncing to optimize performance.

Dynamically creates and styles the toggle button and input field.

Compatibility:

Designed for Instagram's web interface.

Tested with Violentmonkey (chrome,brave,edge), but should work with other userscript managers.

Limitations:

Relies on specific DOM structures, which may break if Instagram updates its UI.

Assumes the presence of "Next" buttons in the expected locations.