From ccab1376dbe98839facc2d2efda123e7dbda18bf Mon Sep 17 00:00:00 2001 From: Nipoto Date: Mon, 5 Feb 2024 20:10:06 +0330 Subject: [PATCH] =?UTF-8?q?=D8=A8=D8=A7=D8=B2=DA=AF=D8=B1=D8=AF=D8=A7?= =?UTF-8?q?=D9=86=DB=8C=20=D8=A8=D8=B1=D8=AE=DB=8C=20=D8=A7=D8=B2=20=D8=AA?= =?UTF-8?q?=D8=BA=DB=8C=DB=8C=D8=B1=D8=A7=D8=AA=20=D9=85=D8=B1=D8=A8=D9=88?= =?UTF-8?q?=D8=B7=20=D8=A8=D9=87=20Routing=20Rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/lang.js | 2 +- assets/js/script.js | 4 ++-- assets/lang/cn.json | 2 +- assets/lang/en.json | 2 +- assets/lang/fa.json | 2 +- assets/lang/ru.json | 2 +- fragment.json | 16 ---------------- index.html | 6 +++--- 8 files changed, 10 insertions(+), 26 deletions(-) diff --git a/assets/js/lang.js b/assets/js/lang.js index 4deb0f8..717035f 100644 --- a/assets/js/lang.js +++ b/assets/js/lang.js @@ -26,7 +26,7 @@ function setLanguagePreference(lang) { } async function fetchLanguageData(lang) { - const response = await fetch("assets/lang/"+lang+".json?v1.2"); + const response = await fetch("assets/lang/"+lang+".json?v1.3"); return response.json(); } diff --git a/assets/js/script.js b/assets/js/script.js index d066f24..773670c 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -292,7 +292,7 @@ function generateJson() { alert('فرم را تکمیل نمایید.'); return false; } - fetch('fragment.json?v1.4') + fetch('fragment.json?v1.5') .then(response => response.json()) .then(data => { data.outbounds[0].protocol = protocol; @@ -325,7 +325,7 @@ function generateJson() { if ( ! direct ) { /*delete data.routing.rules[1]; delete data.routing.rules[2];*/ - data.routing.rules = data.routing.rules.filter((rule, index) => index !== 1 && index !== 2 && index !== 3); + data.routing.rules = data.routing.rules.filter((rule, index) => index !== 1 && index !== 2); } resolve(data); }) diff --git a/assets/lang/cn.json b/assets/lang/cn.json index f4f08d0..f7c820e 100644 --- a/assets/lang/cn.json +++ b/assets/lang/cn.json @@ -23,7 +23,7 @@ "config_switch_mux": "Mux", "config_switch_mux_tooltip": "提高连接建立速度,减少发送和接收数据的延迟", "config_switch_direct_rule": "路由规则", - "config_switch_direct_rule_tooltip": "路由规则(将流量引导至伊朗、中国和俄罗斯的IP和域名 + 在谷歌、微软、Meta等使用IPv4", + "config_switch_direct_rule_tooltip": "导航规则(在IR和CN中指导IP和域名的流量)", "config_mux_label": "并发值", "config_mux_concurrency": "并发", "config_mux_concurrency_tooltip": "选择一个介于1到1024之间的数字(建议将8作为默认值)", diff --git a/assets/lang/en.json b/assets/lang/en.json index c43e838..134fe15 100644 --- a/assets/lang/en.json +++ b/assets/lang/en.json @@ -23,7 +23,7 @@ "config_switch_mux": "Mux", "config_switch_mux_tooltip": "Improving connection establishment speed and reducing latency in sending & receiving data", "config_switch_direct_rule": "Routing Rules", - "config_switch_direct_rule_tooltip": "Routing rules (directing traffic for IP and domains in IR, CN & RU + using IPv4 for Google, Microsoft, Meta & ...)", + "config_switch_direct_rule_tooltip": "Routing rules (directing traffic for IP and domains in IR & CN)", "config_mux_label": "the value of Concurrency", "config_mux_concurrency": "Concurrency", "config_mux_concurrency_tooltip": "Choose a number between 1 and 1024 (8 is recommended as the default value)", diff --git a/assets/lang/fa.json b/assets/lang/fa.json index 45da2fc..082cb49 100644 --- a/assets/lang/fa.json +++ b/assets/lang/fa.json @@ -23,7 +23,7 @@ "config_switch_mux": "Mux", "config_switch_mux_tooltip": "بهبود سرعت برقراری اتصال و کاهش زمان تاخیر در ارسال\u200Cودریافت داده\u200Cها", "config_switch_direct_rule": "Routing Rules", - "config_switch_direct_rule_tooltip": "قوانین مسیریابی (مستقیم\u200Cکردن ترافیک آی\u200Cپی و دامنه\u200Cهای ایران، چین و روسیه + استفاده از IPv4 برای گوگل، مایکروسافت، متا و ...)", + "config_switch_direct_rule_tooltip": "قوانین مسیریابی (مستقیم\u200Cکردن ترافیک آی\u200Cپی و دامنه\u200Cهای ایران و چین)", "config_mux_label": "مقدار Concurrency", "config_mux_concurrency": "concurrency", "config_mux_concurrency_tooltip": "یکی\u200Cاز اعداد مابین ۸ تا ۱۶ را انتخاب کنید (۸ به\u200Cعنوان مقدار پیشفرض پیشنهاد می\u200Cشود)", diff --git a/assets/lang/ru.json b/assets/lang/ru.json index b3a9b9c..4db482a 100644 --- a/assets/lang/ru.json +++ b/assets/lang/ru.json @@ -23,7 +23,7 @@ "config_switch_mux": "Mux", "config_switch_mux_tooltip": "Повышение скорости установки соединения и снижение задержки при отправке и приеме данных", "config_switch_direct_rule": "Правила маршрутизации", - "config_switch_direct_rule_tooltip": "Правила маршрутизации (направление трафика для IP-адресов и доменов в Иране, Китае и России + использование IPv4 для Google, Microsoft, Meta и ...)", + "config_switch_direct_rule_tooltip": "Правила маршрутизации (направление трафика для IP и доменов в Иране и Китае)", "config_mux_label": "Значение параллелизма", "config_mux_concurrency": "Параллелизм", "config_mux_concurrency_tooltip": "Выберите число от 1 до 1024 (рекомендуется использовать 8 в качестве значения по умолчанию)", diff --git a/fragment.json b/fragment.json index adbd5f3..31c8dea 100644 --- a/fragment.json +++ b/fragment.json @@ -157,27 +157,11 @@ "outboundTag": "direct", "ip": [ "geoip:private", - "geoip:ru", "geoip:cn", "geoip:ir" ], "enabled": true }, - { - "id": "5425034033205580638", - "type": "field", - "outboundTag": "IPv4", - "domain": [ - "domain:google.com", - "domain:youtube.com", - "geosite:google", - "geosite:netflix", - "geosite:meta", - "geosite:microsoft", - "geosite:adobe" - ], - "enabled": true - }, { "id": "5627785659655799759", "type": "field", diff --git a/index.html b/index.html index 3eabff5..0466898 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,7 @@

اینترنت برای همه؛ یا هیچ‌کس!

@@ -200,8 +200,8 @@ - - + +