Greasy Fork is available in English.
Clean and fast image viewing for Fastpic, Imgbox, ImgDrive, Pixhost, ImageBam, and many more. Features: Stealth Mode (no ads/flash), Auto-Redirect (gateway bypass), and Anti-Loop.
# Universal Image Host Interceptor
A lightweight, powerful, and stealthy userscript to directly view images on various hosting sites, skipping ads, timers, and redirect loops.
## Features
- **Stealth Mode:** Instantly hides the original page (ads, popups) while the script processes the image. No more flashing white screens or visible ads.
- **Gateway Bypass:** Automatically clicks "Continue to image" buttons and bypasses redirect loops on sites like ImageBam or ImgDrive.
- **Clean Viewer:** Displays the high-resolution image centered on a dark background.
- **Safety & Speed:** Uses `requestAnimationFrame` and `MutationObserver` to ensure the image is displayed as soon as possible without breaking the browser.
## Supported Sites
- **Fastpic** (`fastpic.org`)
- **Imgbox** (`imgbox.com`)
- **Pixhost** (`pixhost.to`) - *Includes HD thumb replacement*
- **ImgDrive** (`imgdrive.net`) - *Bypasses "Continue" pages*
- **ImageBam** (`imagebam.com`) - *Auto-redirects gateway pages*
- **ImageTwist** (`imagetwist.com`)
- **ImageVenue** (`imagevenue.com`)
- **Imx** (`imx.to`) - *Fixes redirect loops*
- **ImgXXT** (`imgxxt.in`)
- **PimpAndHost** (`pimpandhost.com`)
- **TurboImageHost** (`turboimagehost.com`)
- And more generic support...
## How it works
The script runs at `document-start` to intercept the page load.
1. It applies a "Stealth Mask" to hide the page content immediately.
2. It detects the specific host and runs a specialized module to find the real image URL.
3. It strips the entire page HTML (removing scripts, ads, and trackers) and replaces it with a clean image viewer.
## License
MIT License. Free to use and modify.
create with gemini 3.0
optimized for firefox 146 + firemonkey