Universal Image Host Interceptor

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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
seb du17
今日安裝
1
安裝總數
20
評價
0 0 0
版本
1.2.0
建立日期
2025-12-15
更新日期
2025-12-16
尺寸
20.2 KB
相容性
相容於 Firefox 相容於 Chrome
授權條款
MIT
腳本執行於

# 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