Show a popup preview on thumbnail hover, auto-adjust position to prevent overflow, and switch images with the mouse wheel on Nijie.
**Title:** Nijie Popup Preview
**Description:**
A highly responsive quality-of-life script for **Nijie.info**. It allows you to preview the full contents of an artwork directly from its thumbnail without having to open the individual post page.
**Features:**
* **Instant Hover Previews:** Simply hover your mouse cursor over any artwork thumbnail to load and display the full-size images in a clean popup.
* **Multi-page Support via Mouse Wheel:** If an artwork contains multiple pages (like a manga or an image set), just move your cursor into the popup window and scroll your mouse wheel up or down to seamlessly switch between the pages. Background page scrolling is automatically locked while you are doing this.
* **Smart Positioning:** The popup calculates your screen size and automatically adjusts its position so it never overflows or goes off-screen, regardless of how large the image is.
* **Data Caching:** To make the experience lightning-fast and save bandwidth, the script caches images. Hovering over the same thumbnail again will open the preview instantly without re-fetching data.
* **Clean Parsing:** It accurately extracts only the actual illustration images, ignoring related artwork thumbnails, logos, and icons that might otherwise clutter the preview.
* **Auto-Language:** The user interface (like "Loading..." or "Wheel to switch" text) automatically adapts to your browser's language setting (supports English and Japanese).
**How to Use:**
1. Install the script via Tampermonkey or Greasemonkey.
2. Go to any page on `nijie.info` with thumbnails.
3. Hover your cursor over a thumbnail.
4. If there are multiple images, move your mouse into the black popup box and scroll up/down.
5. Move your mouse away to close the popup.