https://github.com/ucxn/ZTE-Stat_Max
English | 简体中文
ZTE-Stat_Max (Author:Brother Tech/哥哥科技) is a Tampermonkey enhancement script specifically designed for the ZTE router Web UI management dashboard.
By taking over the underlying XML API data stream of the native Vue framework, this script reconstructs the UI layout of the "Network Management" and "Connected Devices" pages without breaking the official topology and structure. It introduces trapezoidal integration algorithms, an abnormal traffic radar, and a dual-track traffic alignment display, providing an dashboard for network engineers and power users.
A Web UI enhancement plugin for ZTE routers.Created by "Brother Tech(哥哥科技)". Verified compatible with: Nebula MAX Whole-House 2.5G Wired Main Router / BE 5100Pro+! Separately tracks uplink and downlink traffic, displays traffic ratio and up/down proportions, and combats P2P/PCDN upstream theft. Supports both 1000/1024 base systems and Mbps/GiB units. Enables global comparison between LAN and WAN traffic! Features a flattened device list for instant big-screen visualization. Everything you need is right here—no more tedious menu switching...
While the official Web dashboard is stable, its UX design for data visualization has some friction. For instance, real-time network speeds and historical accumulated traffic for devices are hidden behind secondary menus. You have to frequently click into specific devices to view them, making it impossible to form an intuitive, global comparison. The core purpose of this plugin is to "flatten" these hierarchies. It extracts the up/down network speeds of individual devices, the integrated traffic during the current session, and the underlying total accumulated throughput, pushing them all to the forefront of the main device list. Without any extra clicks, the network throughput status of all devices is clear at a glance.
Before using this script, ensure your browser has a user script manager extension installed, such as:
🧬 Important:Alternative Wake-up Entry
If it isn't working, please check theleft sidebar navigation,find the 🚀 哥哥科技面板(BroTech Panel) and click to open it; the functionality is essentially the same.
Please ensure the Tampermonkey extension is running correctly!!Specifically, the extension icon in your browser should be displaying a number! The tutorial for allowing userscript injection is shown in the image below.
NOTE:Via Browser (Mobile): Script/Plugin features DON'T WORK ?👉 点此展开查看解决办法 Click here to view the solution
Due to limitations in Via Browser's rendering engine behavior, the defaultdocument-idleinjection timing may fail to work properly.
Please open Via's script management page and change the execution timing to eitherdocument-startORdocument-end.
![]()
💡 TIPS
If the script is still not taking effect, please refer to the following tutorial::
| Xiaomi Reference | ZTE Original | Enhanced Version |
|---|---|---|
![]() |
![]() |
![]() |
The script exposes a global CONFIG object at the top, allowing users to fine-tune it according to their specific network environment:
const CONFIG = {
calcMode: 1, // 1: Absolute multiplier mode (Uplink/Downlink), 0: Traditional percentage mode
ratioExtremeUp: 10, // Extreme upload trigger threshold (default > 1000%, triggers red ⚠️ alert)
ratioWarnUp: 0.07, // Heavy upload trigger threshold (default > 7%, triggers red highlight)
ratioExtremeDown: 0.01, // Extreme download trigger threshold (default < 1%, triggers blue download multiplier display)
// Chinese mapping dictionary for physical ports and wireless bands (can be customized based on your router model)
portMap: {
"eth1": "Port 1",
"eth2": "Port 2",
"eth3": "Port 3",
"eth4": "Port 4",
"wl0": "Wi-Fi 2.4G",
"wl1": "Wi-Fi 5.2G",
"wl2": "Wi-Fi 5.8G"
}
};
@match or @include header rules in the script.Utilizing the Tampermonkey environment, the script makes concurrent requests to the router's vue_home_device_data_no_update_sess and vue_client_data APIs. To eliminate the lag caused by the official frontend's polling refresh, the script internally implements an independent timer via performance.now(), deriving highly accurate instantaneous traffic data. All UI modifications are executed via DOM Mutation on top of the original page's CSS framework, ensuring a native feel and seamless compatibility.
Authored by Brother Tech