☰

F95 Constrain Images

Shrink large images to a reasonable size.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
Edexal
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
5
คะแนน
0 0 0
เวอร์ชัน
1.0.2
สร้างเมื่อ
31-10-2026
อัปเดตเมื่อ
03-11-2026
Size
1.84 กิโลไบต์
สัญญาอนุญาต
Unlicense
ปรับใช้กับ

Summary

Shrink large images to reasonable sizes.

There are times when users post extremely large images which take time to scroll past. This script shrinks these images to smaller sizes.

Configurations

If you do not like the defaults, modify the script.

Variables

  • maxHeightAllowed -> Max image height allowed before a resize is triggered for an image.
  • maxWidth -> Max image width when resize is triggered. In other words, the new image width will not be larger than the maxWidth.