|
@@ -44,17 +44,6 @@ o.datatype = "uinteger"
|
|
|
o:depends("enable_switch", "1")
|
|
|
o.default = 3
|
|
|
|
|
|
-o = s:option(Flag, "adblock", translate("Enable adblock"))
|
|
|
-o.rmempty = false
|
|
|
-
|
|
|
-o = s:option(Value, "adblock_url", translate("adblock_url"))
|
|
|
-o:value("https://ghproxy.com/https://raw.githubusercontent.com/neodevpro/neodevhost/master/lite_host_dnsmasq.conf", translate("NEO DEV HOST Lite"))
|
|
|
-o:value("https://ghproxy.com/https://raw.githubusercontent.com/neodevpro/neodevhost/master/host_dnsmasq.conf", translate("NEO DEV HOST Full"))
|
|
|
-o:value("https://ghproxy.com/https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/adblock-for-dnsmasq.conf", translate("anti-AD"))
|
|
|
-o.default = "https://ghproxy.com/https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/adblock-for-dnsmasq.conf"
|
|
|
-o:depends("adblock", "1")
|
|
|
-o.description = translate("Support AdGuardHome and DNSMASQ format list")
|
|
|
-
|
|
|
o = s:option(Value, "gfwlist_url", translate("gfwlist Update url"))
|
|
|
o:value("https://ghproxy.com/https://raw.githubusercontent.com/YW5vbnltb3Vz/domain-list-community/release/gfwlist.txt", translate("v2fly/domain-list-community"))
|
|
|
o:value("https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/gfw.txt", translate("Loyalsoldier/v2ray-rules-dat"))
|
|
@@ -67,11 +56,26 @@ o:value("https://ispip.clang.cn/all_cn.txt", translate("Clang.CN"))
|
|
|
o:value("https://ispip.clang.cn/all_cn_cidr.txt", translate("Clang.CN.CIDR"))
|
|
|
o.default = "https://ispip.clang.cn/all_cn.txt"
|
|
|
|
|
|
+o = s:option(Flag, "netflix_enable", translate("Enable Netflix Mode"))
|
|
|
+o.rmempty = false
|
|
|
+
|
|
|
o = s:option(Value, "nfip_url", translate("nfip_url"))
|
|
|
o:value("https://ghproxy.com/https://raw.githubusercontent.com/QiuSimons/Netflix_IP/master/NF_only.txt", translate("Netflix IP Only"))
|
|
|
o:value("https://ghproxy.com/https://raw.githubusercontent.com/QiuSimons/Netflix_IP/master/getflix.txt", translate("Netflix and AWS"))
|
|
|
o.default = "https://ghproxy.com/https://raw.githubusercontent.com/QiuSimons/Netflix_IP/master/NF_only.txt"
|
|
|
o.description = translate("Customize Netflix IP Url")
|
|
|
+o:depends("netflix_enable", "1")
|
|
|
+
|
|
|
+o = s:option(Flag, "adblock", translate("Enable adblock"))
|
|
|
+o.rmempty = false
|
|
|
+
|
|
|
+o = s:option(Value, "adblock_url", translate("adblock_url"))
|
|
|
+o:value("https://ghproxy.com/https://raw.githubusercontent.com/neodevpro/neodevhost/master/lite_host_dnsmasq.conf", translate("NEO DEV HOST Lite"))
|
|
|
+o:value("https://ghproxy.com/https://raw.githubusercontent.com/neodevpro/neodevhost/master/host_dnsmasq.conf", translate("NEO DEV HOST Full"))
|
|
|
+o:value("https://ghproxy.com/https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/adblock-for-dnsmasq.conf", translate("anti-AD"))
|
|
|
+o.default = "https://ghproxy.com/https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/adblock-for-dnsmasq.conf"
|
|
|
+o:depends("adblock", "1")
|
|
|
+o.description = translate("Support AdGuardHome and DNSMASQ format list")
|
|
|
|
|
|
o = s:option(Button, "reset", translate("Reset to defaults"))
|
|
|
o.rawhtml = true
|