Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-08-14 19:38:56 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-08-14 19:38:56 +0300
commit9b51e9a5c5c087139454fca56ae5f375f40a017c (patch)
tree64cb68e72bd4908a30ae0ea7ccaa11f4c4005a54 /web/html/settings.html
parent6879a8fbcba33dc56afa0ef0a172d506e1f874f3 (diff)
Freedom: Add maxSplit fragment option; Add applyTo noises option
Diffstat (limited to 'web/html/settings.html')
-rw-r--r--web/html/settings.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/web/html/settings.html b/web/html/settings.html
index c7fa9bd8..3b6e81a1 100644
--- a/web/html/settings.html
+++ b/web/html/settings.html
@@ -207,7 +207,7 @@
settings: {
domainStrategy: "AsIs",
noises: [
- { type: "rand", packet: "10-20", delay: "10-16" },
+ { type: "rand", packet: "10-20", delay: "10-16", applyTo: "ip" },
],
},
},
@@ -397,7 +397,7 @@
}
},
addNoise() {
- const newNoise = { type: "rand", packet: "10-20", delay: "10-16" };
+ const newNoise = { type: "rand", packet: "10-20", delay: "10-16", applyTo: "ip" };
this.noisesArray = [...this.noisesArray, newNoise];
},
removeNoise(index) {
@@ -420,6 +420,11 @@
updatedNoises[index] = { ...updatedNoises[index], delay: value };
this.noisesArray = updatedNoises;
},
+ updateNoiseApplyTo(index, value) {
+ const updatedNoises = [...this.noisesArray];
+ updatedNoises[index] = { ...updatedNoises[index], applyTo: value };
+ this.noisesArray = updatedNoises;
+ },
},
computed: {
fragment: {