Carousel Image Preloader

Intelligently preload images in carousels for faster navigation

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
smed79
Dagelijks aantal installaties
2
Totaal aantal installaties
3
Beoordelingen
0 0 0
Versie
1.0
Gemaakt op
20-04-2026
Bijgewerkt op
20-04-2026
Grootte
7,14 KB
Licentie
GPLv3
Wordt toegepast op
Alle websites

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