Carousel Image Preloader

Intelligently preload images in carousels for faster navigation

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

ئاپتورى
smed79
بۈگۈن قاچىلانغىنى
1
جەمئىي قاچىلانغىنى
4
باھا نومۇرى
0 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2026-04-20
يېڭىلانغان ۋاقتى
2026-04-20
Size
7.1 KB
ئىجازەتنامىسى
GPLv3
قوللايدىغىنى
بارلىق بېكەتلەر

Description

Intelligently preload images in carousels and sliders for faster, seamless navigation. This script eliminates the frustrating wait time when clicking through image galleries, product showcases, and slideshow sections.

How It Works

The script automatically detects carousels on any website and predictively preloads adjacent images before you navigate to them. When you click the next/previous arrow, swipe on mobile, or use keyboard navigation, the images are already cached and display instantly.

Features

  • Automatic Carousel Detection - Identifies carousels across different frameworks (Swiper, Slick, Splide, Owl, Glide, and more)
  • Smart Preloading - Preloads images ahead and behind the current one based on predicted user navigation
  • Multi-Input Support - Monitors clicks, swipes, keyboard arrows, and other navigation methods
  • Background Image Support - Works with both <img> tags and CSS background images
  • Minimal Overhead - Only activates on detected carousels, no impact on regular pages
  • Dynamic Content Support - Continuously scans for newly loaded carousels on infinite scroll or dynamically updated pages

Configuration

Open the script and adjust these values to customize behavior:

  • PRELOAD_BUFFER (default: 3) - Number of images to preload ahead/behind current. Higher = faster navigation but more bandwidth
  • PRELOAD_DELAY (default: 500ms) - Delay before preloading triggers after navigation. Adjust if carousels transition slowly
  • DEBUG (default: false) - Set to true to see console logs for troubleshooting

Performance

Noticeable improvement on sites with:

  • Product image galleries (e-commerce)
  • Game/app screenshot carousels
  • Portfolio and photo galleries
  • Review or comparison sliders
  • Any lazy-loaded image carousel

Compatibility

  • Works on HTTPS websites
  • Compatible with all modern browsers (Chrome, Firefox, Edge, Safari)

Notes

The script uses the browser's native image caching, so it only downloads images once. Preloaded images are cached locally and reused when you navigate back to them.

License

GPLv3