drawaria custom-range mod

drawaria custom-range mod!

Upphovsman
YouTubeDrawaria
Dagliga installationer
0
Totala installationer
15
Betyg
0 0 0
Version
1.0
Skapad
2024-12-26
Uppdaterad
2024-12-26
Size
2,12 KB
Licens
MIT
Gäller för

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.