你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/521892-drawaria-custom-range-mod,源站連結 點此以跳轉。
drawaria custom-range mod!
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.