Instagram Slideshow With Custom Time

autoclicks the next button smartly to feel like slideshow.For Videos wait till it plays twice before clicking next.Preview all post in Instagram carousel before jumping to next post.

当前为 2025-03-02 提交的版本,查看 最新版本

作者
harsh kumar
评分
0 0 0
版本
1.2
创建于
2025-03-02
更新于
2025-03-02
大小
6.9 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. **Previews all Post in Instagram carousel before Jumping to Next Post.**

5. Customizable delay time via an input field.

6. Logs actions and errors for debugging.

Usages:

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

2. Allows users to set a custom delay in seconds.

3. Automatically detects and navigates through media in a slideshow.

Technical Details:

1. Uses MutationObserver to detect DOM changes and trigger navigation.

2. Implements debouncing to optimize performance.

3. Dynamically creates and styles the toggle button and input field.

Compatibility:

1. Designed for Instagram's web interface.

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

Limitations:

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

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