1337X Image Helper

1. 识别 description 中的缩略图(支持懒加载 data-original + 路径替换),显示高清原图;2. 劫持 window.onload 阻止 ma.js 弹窗脚本执行。

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
PeratX
일일 설치 수
0
총 설치 수
6
평점
0 0 0
버전
1.0
생성일
2025-11-19
갱신일
2025-11-19
크기
6.58KB
라이선스
Apache-2.0
적용 사이트

1337X Image Helper - Auto Append Original Image

This script enhances the browsing experience on torrent/download sites by automatically expanding thumbnails into high-definition original images and blocking specific popunder advertisements.

🚀 Key Features

Smart Image Expansion

Auto-Resolution: Automatically detects thumbnail images (e.g., .th.jpg, .md.jpg) inside the description area and appends the Full HD original version underneath.

Link Conversion: Converts text-based image links (ending in .html) into actual visible images.

Lazy Load Support: Correctly identifies images using data-original attributes (often used by sites to hide the real image URL behind a loading placeholder like profile-load.svg).

Clean UI: Removes the original low-res thumbnails and "click-to-view" links that often trigger unwanted popups, leaving only the clean, full-size image.

🛠 Supported Image Hosting Rules

The script currently supports the following logic for URL cleaning:

Generic Thumbnails:

Replaces *.th.jpg or *.md.jpg with *.jpg.

Imgtraffic.com:

Converts /i-1/ path to /1/.

Converts /1s/, /2s/ (etc.) paths to /1/, /2/.

Removes .html suffixes.

14xpics.space & Others:

Applies standard thumbnail removal rules.

⚙️ How It Works

The script is set to run at document-start to ensure it can intercept the ad scripts before the page fully loads.

Initialization: It immediately sets up the window.onload trap to block the ad script.

DOM Processing: Once the page content loads (DOMContentLoaded), it scans the #description container.

Image Processing: It iterates through all images and links, calculates the HD URL based on the rules above, and appends the new image to the DOM.

Cleanup: It removes the old wrapper links to prevent accidental clicks on popups.

📝 Disclaimer

This script is for educational and personal use only. It modifies the client-side display of web pages. The author is not responsible for any issues that may arise from using this script.