Imagefap Gallery Viewer Pro

Transforms ImageFap into a seamless, continuous LightGallery viewer and Masonry Grid with concurrent background fetching and smart batch downloading.

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v3.0.6 29.07.2026

    🔄 Recent Major Updates (v3.0.6)

    • DOM Deduplicator (Gatekeeper): Added an active MutationObserver that tracks your viewed Photo IDs. It seamlessly filters out drifting duplicates injected by Infinite Scroll plugins without destroying the original layout.
    • Seamless Lightbox Hot-Swapping: Completely rebuilt the background fetcher to inject new thumbnails directly into LightGallery's internal memory banks, permanently fixing the classList is undefined crash on massive galleries.
    • Next Gallery Navigator Fix: Resolved the -1 page index bug, ensuring that hitting the end of a gallery reliably jumps to the next available gallery without dropping you on an empty page.
    • Anti-Blocking Engine: Added robust fallback fetching strategies and spoofed headers to bypass server/Cloudflare blocking on offset 0 requests.
  • v3.0.1 28.07.2026

    🚀 Recent Updates & Optimizations (v3.0.1)

    • Concurrent Fetching Engine: Replaced sequential page-loading with a massively concurrent background fetcher that grabs all gallery pages simultaneously while perfectly maintaining chronological order.
    • Network-Jam Prevention (Grid/Thumbs): Prevented catastrophic browser freezing by forcing grid cards and Lightbox thumbnail strips to load ultra-lightweight /thumb/ images instead of 5MB+ full-resolution photos.
    • Flawless Masonry Rendering: Eliminated a DOM-rendering race condition that caused Grid images to pile into a single column by implementing a zero-overhead round-robin column distributor.
    • Lightbox "Download All": Injected a "Download All" button directly into the LightGallery toolbar that connects seamlessly to the batch download engine.
    • Global Progress Bar: Extracted the floating download progress bar to the top-level DOM so its live percentage and batch status remain completely visible, even when the Lightbox is open.
    • Dynamic Thumbnail Wrap Fix: Applied CSS rules (white-space: nowrap, width: max-content) to prevent the LightGallery thumbnail strip from wrapping to a second line when hundreds of thumbnails are appended dynamically.
  • v3.0.0 28.07.2026

    🚀 Recent Updates & Optimizations (v3.0.0)

    • Concurrent Fetching Engine: Replaced sequential page-loading with a massively concurrent background fetcher that grabs all gallery pages simultaneously while perfectly maintaining chronological order.
    • Network-Jam Prevention (Grid/Thumbs): Prevented catastrophic browser freezing by forcing grid cards and Lightbox thumbnail strips to load ultra-lightweight /thumb/ images instead of 5MB+ full-resolution photos.
    • Flawless Masonry Rendering: Eliminated a DOM-rendering race condition that caused Grid images to pile into a single column by implementing a zero-overhead round-robin column distributor.
    • Lightbox "Download All": Injected a "Download All" button directly into the LightGallery toolbar that connects seamlessly to the batch download engine.
    • Global Progress Bar: Extracted the floating download progress bar to the top-level DOM so its live percentage and batch status remain completely visible, even when the Lightbox is open.
    • Dynamic Thumbnail Wrap Fix: Applied CSS rules (white-space: nowrap, width: max-content) to prevent the LightGallery thumbnail strip from wrapping to a second line when hundreds of thumbnails are appended dynamically.
  • v2.1.1 26.07.2026

    🚀 What's New in v2.1.1:

    • 🔄 Multi-Page Full Gallery Engine: Fixed gallery truncation bug where next-arrow stopped at image 24. Now opens Lightbox immediately at the clicked photo index while background workers fetch all remaining pages and dynamically update total count and thumbnail strip.
    • Masonry Grid Overview: Added a fullscreen Masonry grid view (G key or toolbar icon) with 4-column default layout, 2-, 3-, and 4-column switchers, and top-right selection checkboxes.
    • 📦 Grid Batch Download Manager: Floating bottom-right download bar with progress tracking, original CDN filenames, and automatic 2.5-second pauses after every 30 downloads.
    • 🎯 Smart Selection Buttons: Added Select All / Deselect All and cumulative Select 10 $\to$ Select Next 10 buttons.
    • ⚙️ Interactive Settings Modal: Added ⚙️ Click Settings popup modal to switch between Thumbnails Only (Default) and Thumbnails + Gallery Titles modes with 0-refresh instant saving.
    • Performance & RAM Optimizations: Flushed RAM image cache on gallery load, added incremental DOM appending, and streamlined single-pass document queries for maximum speed.
    • 🔑 CDN Signature Fix: Resolved broken enlarged photos by extracting signed /full/ CDN URLs directly from ImageFap anchor attributes.
    • 🌐 Universal Page Support: Verified multi-page compatibility across Galleries, Favorites (showfavorites.php), Organizer (organizer.php), User Profiles, and Categories.
  • v2.0.0 26.07.2026

    🚀 What's New in v2.0.0 Major Release:

    • Masonry Grid Overview: Added a fullscreen Masonry grid view (G key or toolbar icon) with 4-column default layout and 2-, 3-, and 4-column switchers.
    • 📦 Grid Batch Download Manager: Added 22px top-right selection checkboxes on grid cards, floating bottom-right download bar with progress tracking, original CDN filenames, and automatic 2.5-second pauses after every 30 downloads to prevent browser throttling.
    • 🎯 Smart Selection Buttons: Added Select All / Deselect All and cumulative Select 10 $\to$ Select Next 10 buttons.
    • ⚙️ Interactive Settings Modal: Added ⚙️ Click Settings popup modal to switch between Thumbnails Only (Default) and Thumbnails + Gallery Titles modes with 0-refresh instant saving.
    • ⌨️ Native Link Bypass & Pagination Filter: Ctrl / Cmd + Click bypasses Lightbox to open links natively; pagination buttons (Next, Prev, page numbers) are excluded.
    • 🔑 CDN Signature Fix: Resolved broken enlarged photos by extracting signed /full/ CDN URLs directly from ImageFap anchor attributes.
    • 🌐 Universal Page Support: Full multi-page support across Galleries, Favorites (showfavorites.php), Organizer (organizer.php), User Profiles, and Categories.
  • v1.5.7 24.07.2026

    Cleaning script

  • v1.5.6 24.07.2026

    1.5.6 Fixing cache issue.

  • v1.5.5 24.07.2026

    Adding Clear Cache Setting button in Tampermonkey Icon

  • v1.5.4 24.07.2026

    🚀 What's New in v1.5.4

    • Progressive Background Streaming: 500+ image galleries launch instantly without black-screen loading delays.
    • Favorites Page (showfavorites.php) Support: Full compatibility with favorites, mini-thumbnails (img.gal_mini), and folder views.
    • 🛡️ Zero Script Conflicts: Complete Vanilla JS rewrite eliminating all jQuery/Prototype.js $ is not a function console errors.
    • 🐛 Image & Download Fixes: Resolved Firefox NS_BINDING_ABORTED image decoding errors and fixed #lg-download button corruption.
  • v1.5.3 24.07.2026

    🚀 What's New in v1.5.3

    • Progressive Background Streaming: 500+ image galleries launch instantly without black-screen loading delays.
    • Favorites Page (showfavorites.php) Support: Full compatibility with favorites, mini-thumbnails (img.gal_mini), and folder views.
    • 🛡️ Zero Script Conflicts: Complete Vanilla JS rewrite eliminating all jQuery/Prototype.js $ is not a function console errors.
    • 🐛 Image & Download Fixes: Resolved Firefox NS_BINDING_ABORTED image decoding errors and fixed #lg-download button corruption.
  • v1.5.2 24.07.2026

    🚀 What's New in v1.5.2

    • Progressive Background Streaming: 500+ image galleries launch instantly without black-screen loading delays.
    • Favorites Page (showfavorites.php) Support: Full compatibility with favorites, mini-thumbnails (img.gal_mini), and folder views.
    • 🛡️ Zero Script Conflicts: Complete Vanilla JS rewrite eliminating all jQuery/Prototype.js $ is not a function console errors.
    • 🐛 Image & Download Fixes: Resolved Firefox NS_BINDING_ABORTED image decoding errors and fixed #lg-download button corruption.
  • v1.5.1 24.07.2026

    🚀 What's New in v1.5.1

    • Progressive Background Streaming: 500+ image galleries launch instantly without black-screen loading delays.
    • Favorites Page (showfavorites.php) Support: Full compatibility with favorites, mini-thumbnails (img.gal_mini), and folder views.
    • 🛡️ Zero Script Conflicts: Complete Vanilla JS rewrite eliminating all jQuery/Prototype.js $ is not a function console errors.
    • 🐛 Image & Download Fixes: Resolved Firefox NS_BINDING_ABORTED image decoding errors and fixed #lg-download button corruption.
  • v1.3.1 24.07.2026

    🥸 Minor margin fix for lightbox title.

  • v1.3.0 24.07.2026