drawaria custom-range mod

drawaria custom-range mod!

ผู้เขียน
YouTubeDrawaria
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
15
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
26-12-2024
อัปเดตเมื่อ
26-12-2024
Size
2.12 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

Craziest Mod I made Lol !!

The script is designed to modify the range slider control in the Drawaria online game to ensure that its `min`, `max`, and `value` attributes are always set to -1999. This is achieved by:

1. **Setting Initial Values**: Immediately setting the slider's attributes to -1999 when the page loads.
2. **Monitoring DOM Changes**: Using a `MutationObserver` to watch for any changes in the DOM and ensure the values remain at -1999.
3. **Overriding `setAttribute`**: Overriding the `setAttribute` method to force any attempts to change the slider's attributes to -1999.

This ensures that the slider control always maintains its values at -1999, regardless of any game mechanics that might try to alter them.