drawaria custom-range mod

drawaria custom-range mod!

Skaber
YouTubeDrawaria
Daglige installationer
0
Installationer i alt
15
Bedømmelser
0 0 0
Version
1.0
Oprettet
26.12.2024
Opdateret
26.12.2024
Size
2,12 kB
Licens
MIT
Gælder for

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.