drawaria custom-range mod

drawaria custom-range mod!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
YouTubeDrawaria
今日安裝
0
安裝總數
16
評價
0 0 0
版本
1.0
建立日期
2024-12-26
更新日期
2024-12-26
尺寸
2.1 KB
授權條款
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.