This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Huawei AX3 DNS Interceptor (hardened) | |
| * - Catches Request objects and string URLs | |
| * - Matches by pathname to survive host changes | |
| * - Safely clones & rewrites JSON bodies | |
| * | |
| * Edit these: | |
| */ | |
| const PAGE_IP = location.hostname || "192.168.100.1"; // your router IP (auto-uses current host) | |
| const CUSTOM_DNS1 = "1.1.1.1"; // primary DNS |