This commit is contained in:
SukkaW
2025-05-22 12:48:36 +00:00
parent aa7a62fb7d
commit cbcf8ba375
23 changed files with 9401 additions and 2621 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
######################################### #########################################
# Sukka's Ruleset - Mainland China IPv4 CIDR # Sukka's Ruleset - Mainland China IPv4 CIDR
# Last Updated: 2025-05-21T18:41:43.193Z # Last Updated: 2025-05-22T12:47:58.601Z
# Size: 4172 # Size: 4174
# License: CC BY-SA 2.0 # License: CC BY-SA 2.0
# Homepage: https://ruleset.skk.moe # Homepage: https://ruleset.skk.moe
# GitHub: https://github.com/SukkaW/Surge # GitHub: https://github.com/SukkaW/Surge
@@ -47,7 +47,7 @@
8.136.0.0/13 8.136.0.0/13
8.144.0.0/14 8.144.0.0/14
8.148.0.0/19 8.148.0.0/19
8.148.32.0/21 8.148.36.0/22
8.148.40.0/22 8.148.40.0/22
8.148.64.0/18 8.148.64.0/18
8.148.128.0/17 8.148.128.0/17
@@ -852,6 +852,8 @@
101.245.0.0/23 101.245.0.0/23
101.245.16.0/23 101.245.16.0/23
101.245.32.0/21 101.245.32.0/21
101.245.48.0/20
101.245.64.0/18
101.246.172.0/22 101.246.172.0/22
101.246.176.0/20 101.246.176.0/20
101.248.0.0/15 101.248.0.0/15

View File

@@ -1,7 +1,7 @@
######################################### #########################################
# Sukka's Ruleset - Mainland China IPv6 CIDR # Sukka's Ruleset - Mainland China IPv6 CIDR
# Last Updated: 2025-05-21T05:19:02.017Z # Last Updated: 2025-05-22T12:47:58.603Z
# Size: 1434 # Size: 1430
# License: CC BY-SA 2.0 # License: CC BY-SA 2.0
# Homepage: https://ruleset.skk.moe # Homepage: https://ruleset.skk.moe
# GitHub: https://github.com/SukkaW/Surge # GitHub: https://github.com/SukkaW/Surge
@@ -183,7 +183,6 @@
2401:f860:90::/47 2401:f860:90::/47
2401:f860:93::/48 2401:f860:93::/48
2401:f860:100::/40 2401:f860:100::/40
2401:f860:f100::/40
2401:fa00:40::/43 2401:fa00:40::/43
2402:840:d000::/46 2402:840:d000::/46
2402:840:e000::/46 2402:840:e000::/46
@@ -306,7 +305,6 @@
2404:2280:13b::/48 2404:2280:13b::/48
2404:2280:13c::/47 2404:2280:13c::/47
2404:2280:142::/48 2404:2280:142::/48
2404:2280:147::/48
2404:2280:14f::/48 2404:2280:14f::/48
2404:2280:150::/48 2404:2280:150::/48
2404:2280:152::/48 2404:2280:152::/48
@@ -325,7 +323,6 @@
2404:2280:18a::/47 2404:2280:18a::/47
2404:2280:18c::/46 2404:2280:18c::/46
2404:2280:193::/48 2404:2280:193::/48
2404:2280:196::/48
2404:2280:198::/45 2404:2280:198::/45
2404:2280:1a4::/46 2404:2280:1a4::/46
2404:2280:1a8::/47 2404:2280:1a8::/47
@@ -1340,6 +1337,7 @@
2a0f:7803:fe42::/47 2a0f:7803:fe42::/47
2a0f:7803:fe44::/46 2a0f:7803:fe44::/46
2a0f:7803:fe4a::/48 2a0f:7803:fe4a::/48
2a0f:7803:fe4e::/48
2a0f:7803:fe81::/48 2a0f:7803:fe81::/48
2a0f:7803:fe82::/48 2a0f:7803:fe82::/48
2a0f:7804:da00::/40 2a0f:7804:da00::/40
@@ -1356,7 +1354,6 @@
2a0f:ac00::/29 2a0f:ac00::/29
2a10:2f00:15a::/48 2a10:2f00:15a::/48
2a10:cc40:190::/48 2a10:cc40:190::/48
2a10:ccc0:d01::/48
2a12:f8c3::/36 2a12:f8c3::/36
2a13:1800::/48 2a13:1800::/48
2a13:1800:10::/48 2a13:1800:10::/48
@@ -1400,8 +1397,7 @@
2a14:67c1:b066::/47 2a14:67c1:b066::/47
2a14:67c1:b068::/47 2a14:67c1:b068::/47
2a14:67c1:b100::/46 2a14:67c1:b100::/46
2a14:67c1:b104::/47 2a14:67c1:b105::/48
2a14:67c1:b106::/48
2a14:67c1:b400::/43 2a14:67c1:b400::/43
2a14:67c5:1000::/39 2a14:67c5:1000::/39
2a14:7580:730::/44 2a14:7580:730::/44

View File

@@ -1,6 +1,6 @@
<?php <?php
// # Build 2025-05-21T18:41:43.240Z // # Build 2025-05-22T12:47:58.706Z
declare(strict_types=1); declare(strict_types=1);
@@ -2835,7 +2835,7 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR,8.136.0.0/13,Domestic', 'IP-CIDR,8.136.0.0/13,Domestic',
'IP-CIDR,8.144.0.0/14,Domestic', 'IP-CIDR,8.144.0.0/14,Domestic',
'IP-CIDR,8.148.0.0/19,Domestic', 'IP-CIDR,8.148.0.0/19,Domestic',
'IP-CIDR,8.148.32.0/21,Domestic', 'IP-CIDR,8.148.36.0/22,Domestic',
'IP-CIDR,8.148.40.0/22,Domestic', 'IP-CIDR,8.148.40.0/22,Domestic',
'IP-CIDR,8.148.64.0/18,Domestic', 'IP-CIDR,8.148.64.0/18,Domestic',
'IP-CIDR,8.148.128.0/17,Domestic', 'IP-CIDR,8.148.128.0/17,Domestic',
@@ -3640,6 +3640,8 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR,101.245.0.0/23,Domestic', 'IP-CIDR,101.245.0.0/23,Domestic',
'IP-CIDR,101.245.16.0/23,Domestic', 'IP-CIDR,101.245.16.0/23,Domestic',
'IP-CIDR,101.245.32.0/21,Domestic', 'IP-CIDR,101.245.32.0/21,Domestic',
'IP-CIDR,101.245.48.0/20,Domestic',
'IP-CIDR,101.245.64.0/18,Domestic',
'IP-CIDR,101.246.172.0/22,Domestic', 'IP-CIDR,101.246.172.0/22,Domestic',
'IP-CIDR,101.246.176.0/20,Domestic', 'IP-CIDR,101.246.176.0/20,Domestic',
'IP-CIDR,101.248.0.0/15,Domestic', 'IP-CIDR,101.248.0.0/15,Domestic',
@@ -7143,7 +7145,6 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2401:f860:90::/47,Domestic', 'IP-CIDR6,2401:f860:90::/47,Domestic',
'IP-CIDR6,2401:f860:93::/48,Domestic', 'IP-CIDR6,2401:f860:93::/48,Domestic',
'IP-CIDR6,2401:f860:100::/40,Domestic', 'IP-CIDR6,2401:f860:100::/40,Domestic',
'IP-CIDR6,2401:f860:f100::/40,Domestic',
'IP-CIDR6,2401:fa00:40::/43,Domestic', 'IP-CIDR6,2401:fa00:40::/43,Domestic',
'IP-CIDR6,2402:840:d000::/46,Domestic', 'IP-CIDR6,2402:840:d000::/46,Domestic',
'IP-CIDR6,2402:840:e000::/46,Domestic', 'IP-CIDR6,2402:840:e000::/46,Domestic',
@@ -7266,7 +7267,6 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2404:2280:13b::/48,Domestic', 'IP-CIDR6,2404:2280:13b::/48,Domestic',
'IP-CIDR6,2404:2280:13c::/47,Domestic', 'IP-CIDR6,2404:2280:13c::/47,Domestic',
'IP-CIDR6,2404:2280:142::/48,Domestic', 'IP-CIDR6,2404:2280:142::/48,Domestic',
'IP-CIDR6,2404:2280:147::/48,Domestic',
'IP-CIDR6,2404:2280:14f::/48,Domestic', 'IP-CIDR6,2404:2280:14f::/48,Domestic',
'IP-CIDR6,2404:2280:150::/48,Domestic', 'IP-CIDR6,2404:2280:150::/48,Domestic',
'IP-CIDR6,2404:2280:152::/48,Domestic', 'IP-CIDR6,2404:2280:152::/48,Domestic',
@@ -7285,7 +7285,6 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2404:2280:18a::/47,Domestic', 'IP-CIDR6,2404:2280:18a::/47,Domestic',
'IP-CIDR6,2404:2280:18c::/46,Domestic', 'IP-CIDR6,2404:2280:18c::/46,Domestic',
'IP-CIDR6,2404:2280:193::/48,Domestic', 'IP-CIDR6,2404:2280:193::/48,Domestic',
'IP-CIDR6,2404:2280:196::/48,Domestic',
'IP-CIDR6,2404:2280:198::/45,Domestic', 'IP-CIDR6,2404:2280:198::/45,Domestic',
'IP-CIDR6,2404:2280:1a4::/46,Domestic', 'IP-CIDR6,2404:2280:1a4::/46,Domestic',
'IP-CIDR6,2404:2280:1a8::/47,Domestic', 'IP-CIDR6,2404:2280:1a8::/47,Domestic',
@@ -8300,6 +8299,7 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2a0f:7803:fe42::/47,Domestic', 'IP-CIDR6,2a0f:7803:fe42::/47,Domestic',
'IP-CIDR6,2a0f:7803:fe44::/46,Domestic', 'IP-CIDR6,2a0f:7803:fe44::/46,Domestic',
'IP-CIDR6,2a0f:7803:fe4a::/48,Domestic', 'IP-CIDR6,2a0f:7803:fe4a::/48,Domestic',
'IP-CIDR6,2a0f:7803:fe4e::/48,Domestic',
'IP-CIDR6,2a0f:7803:fe81::/48,Domestic', 'IP-CIDR6,2a0f:7803:fe81::/48,Domestic',
'IP-CIDR6,2a0f:7803:fe82::/48,Domestic', 'IP-CIDR6,2a0f:7803:fe82::/48,Domestic',
'IP-CIDR6,2a0f:7804:da00::/40,Domestic', 'IP-CIDR6,2a0f:7804:da00::/40,Domestic',
@@ -8316,7 +8316,6 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2a0f:ac00::/29,Domestic', 'IP-CIDR6,2a0f:ac00::/29,Domestic',
'IP-CIDR6,2a10:2f00:15a::/48,Domestic', 'IP-CIDR6,2a10:2f00:15a::/48,Domestic',
'IP-CIDR6,2a10:cc40:190::/48,Domestic', 'IP-CIDR6,2a10:cc40:190::/48,Domestic',
'IP-CIDR6,2a10:ccc0:d01::/48,Domestic',
'IP-CIDR6,2a12:f8c3::/36,Domestic', 'IP-CIDR6,2a12:f8c3::/36,Domestic',
'IP-CIDR6,2a13:1800::/48,Domestic', 'IP-CIDR6,2a13:1800::/48,Domestic',
'IP-CIDR6,2a13:1800:10::/48,Domestic', 'IP-CIDR6,2a13:1800:10::/48,Domestic',
@@ -8360,8 +8359,7 @@ $_ENV['Clash_Group_Config'] = [
'IP-CIDR6,2a14:67c1:b066::/47,Domestic', 'IP-CIDR6,2a14:67c1:b066::/47,Domestic',
'IP-CIDR6,2a14:67c1:b068::/47,Domestic', 'IP-CIDR6,2a14:67c1:b068::/47,Domestic',
'IP-CIDR6,2a14:67c1:b100::/46,Domestic', 'IP-CIDR6,2a14:67c1:b100::/46,Domestic',
'IP-CIDR6,2a14:67c1:b104::/47,Domestic', 'IP-CIDR6,2a14:67c1:b105::/48,Domestic',
'IP-CIDR6,2a14:67c1:b106::/48,Domestic',
'IP-CIDR6,2a14:67c1:b400::/43,Domestic', 'IP-CIDR6,2a14:67c1:b400::/43,Domestic',
'IP-CIDR6,2a14:67c5:1000::/39,Domestic', 'IP-CIDR6,2a14:67c5:1000::/39,Domestic',
'IP-CIDR6,2a14:7580:730::/44,Domestic', 'IP-CIDR6,2a14:7580:730::/44,Domestic',

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
######################################### #########################################
# Sukka's Ruleset - Mainland China IPv4 CIDR # Sukka's Ruleset - Mainland China IPv4 CIDR
# Last Updated: 2025-05-21T18:41:43.193Z # Last Updated: 2025-05-22T12:47:58.601Z
# Size: 4173 # Size: 4175
# License: CC BY-SA 2.0 # License: CC BY-SA 2.0
# Homepage: https://ruleset.skk.moe # Homepage: https://ruleset.skk.moe
# GitHub: https://github.com/SukkaW/Surge # GitHub: https://github.com/SukkaW/Surge
@@ -48,7 +48,7 @@ IP-CIDR,8.132.0.0/14
IP-CIDR,8.136.0.0/13 IP-CIDR,8.136.0.0/13
IP-CIDR,8.144.0.0/14 IP-CIDR,8.144.0.0/14
IP-CIDR,8.148.0.0/19 IP-CIDR,8.148.0.0/19
IP-CIDR,8.148.32.0/21 IP-CIDR,8.148.36.0/22
IP-CIDR,8.148.40.0/22 IP-CIDR,8.148.40.0/22
IP-CIDR,8.148.64.0/18 IP-CIDR,8.148.64.0/18
IP-CIDR,8.148.128.0/17 IP-CIDR,8.148.128.0/17
@@ -853,6 +853,8 @@ IP-CIDR,101.240.0.0/14
IP-CIDR,101.245.0.0/23 IP-CIDR,101.245.0.0/23
IP-CIDR,101.245.16.0/23 IP-CIDR,101.245.16.0/23
IP-CIDR,101.245.32.0/21 IP-CIDR,101.245.32.0/21
IP-CIDR,101.245.48.0/20
IP-CIDR,101.245.64.0/18
IP-CIDR,101.246.172.0/22 IP-CIDR,101.246.172.0/22
IP-CIDR,101.246.176.0/20 IP-CIDR,101.246.176.0/20
IP-CIDR,101.248.0.0/15 IP-CIDR,101.248.0.0/15

View File

@@ -1,7 +1,7 @@
######################################### #########################################
# Sukka's Ruleset - Mainland China IPv6 CIDR # Sukka's Ruleset - Mainland China IPv6 CIDR
# Last Updated: 2025-05-21T05:19:02.017Z # Last Updated: 2025-05-22T12:47:58.603Z
# Size: 1435 # Size: 1431
# License: CC BY-SA 2.0 # License: CC BY-SA 2.0
# Homepage: https://ruleset.skk.moe # Homepage: https://ruleset.skk.moe
# GitHub: https://github.com/SukkaW/Surge # GitHub: https://github.com/SukkaW/Surge
@@ -184,7 +184,6 @@ IP-CIDR6,2401:f860:88::/47
IP-CIDR6,2401:f860:90::/47 IP-CIDR6,2401:f860:90::/47
IP-CIDR6,2401:f860:93::/48 IP-CIDR6,2401:f860:93::/48
IP-CIDR6,2401:f860:100::/40 IP-CIDR6,2401:f860:100::/40
IP-CIDR6,2401:f860:f100::/40
IP-CIDR6,2401:fa00:40::/43 IP-CIDR6,2401:fa00:40::/43
IP-CIDR6,2402:840:d000::/46 IP-CIDR6,2402:840:d000::/46
IP-CIDR6,2402:840:e000::/46 IP-CIDR6,2402:840:e000::/46
@@ -307,7 +306,6 @@ IP-CIDR6,2404:2280:138::/48
IP-CIDR6,2404:2280:13b::/48 IP-CIDR6,2404:2280:13b::/48
IP-CIDR6,2404:2280:13c::/47 IP-CIDR6,2404:2280:13c::/47
IP-CIDR6,2404:2280:142::/48 IP-CIDR6,2404:2280:142::/48
IP-CIDR6,2404:2280:147::/48
IP-CIDR6,2404:2280:14f::/48 IP-CIDR6,2404:2280:14f::/48
IP-CIDR6,2404:2280:150::/48 IP-CIDR6,2404:2280:150::/48
IP-CIDR6,2404:2280:152::/48 IP-CIDR6,2404:2280:152::/48
@@ -326,7 +324,6 @@ IP-CIDR6,2404:2280:187::/48
IP-CIDR6,2404:2280:18a::/47 IP-CIDR6,2404:2280:18a::/47
IP-CIDR6,2404:2280:18c::/46 IP-CIDR6,2404:2280:18c::/46
IP-CIDR6,2404:2280:193::/48 IP-CIDR6,2404:2280:193::/48
IP-CIDR6,2404:2280:196::/48
IP-CIDR6,2404:2280:198::/45 IP-CIDR6,2404:2280:198::/45
IP-CIDR6,2404:2280:1a4::/46 IP-CIDR6,2404:2280:1a4::/46
IP-CIDR6,2404:2280:1a8::/47 IP-CIDR6,2404:2280:1a8::/47
@@ -1341,6 +1338,7 @@ IP-CIDR6,2a0f:7803:fe41::/48
IP-CIDR6,2a0f:7803:fe42::/47 IP-CIDR6,2a0f:7803:fe42::/47
IP-CIDR6,2a0f:7803:fe44::/46 IP-CIDR6,2a0f:7803:fe44::/46
IP-CIDR6,2a0f:7803:fe4a::/48 IP-CIDR6,2a0f:7803:fe4a::/48
IP-CIDR6,2a0f:7803:fe4e::/48
IP-CIDR6,2a0f:7803:fe81::/48 IP-CIDR6,2a0f:7803:fe81::/48
IP-CIDR6,2a0f:7803:fe82::/48 IP-CIDR6,2a0f:7803:fe82::/48
IP-CIDR6,2a0f:7804:da00::/40 IP-CIDR6,2a0f:7804:da00::/40
@@ -1357,7 +1355,6 @@ IP-CIDR6,2a0f:9400:7700::/48
IP-CIDR6,2a0f:ac00::/29 IP-CIDR6,2a0f:ac00::/29
IP-CIDR6,2a10:2f00:15a::/48 IP-CIDR6,2a10:2f00:15a::/48
IP-CIDR6,2a10:cc40:190::/48 IP-CIDR6,2a10:cc40:190::/48
IP-CIDR6,2a10:ccc0:d01::/48
IP-CIDR6,2a12:f8c3::/36 IP-CIDR6,2a12:f8c3::/36
IP-CIDR6,2a13:1800::/48 IP-CIDR6,2a13:1800::/48
IP-CIDR6,2a13:1800:10::/48 IP-CIDR6,2a13:1800:10::/48
@@ -1401,8 +1398,7 @@ IP-CIDR6,2a14:67c1:b065::/48
IP-CIDR6,2a14:67c1:b066::/47 IP-CIDR6,2a14:67c1:b066::/47
IP-CIDR6,2a14:67c1:b068::/47 IP-CIDR6,2a14:67c1:b068::/47
IP-CIDR6,2a14:67c1:b100::/46 IP-CIDR6,2a14:67c1:b100::/46
IP-CIDR6,2a14:67c1:b104::/47 IP-CIDR6,2a14:67c1:b105::/48
IP-CIDR6,2a14:67c1:b106::/48
IP-CIDR6,2a14:67c1:b400::/43 IP-CIDR6,2a14:67c1:b400::/43
IP-CIDR6,2a14:67c5:1000::/39 IP-CIDR6,2a14:67c5:1000::/39
IP-CIDR6,2a14:7580:730::/44 IP-CIDR6,2a14:7580:730::/44

View File

@@ -20,32 +20,15 @@
window.apstag = apstagWrapper; window.apstag = apstagWrapper;
hit(source); hit(source);
} }
function hit(source) { function hit(e) {
var ADGUARD_PREFIX = "[AdGuard]"; if (e.verbose) {
if (!source.verbose) { try {
return; var n = console.trace.bind(console), i = "[AdGuard] ";
} "corelibs" === e.engine ? i += e.ruleText : (e.domainName && (i += `${e.domainName}`),
try { e.args ? i += `#%#//scriptlet('${e.name}', '${e.args.join("', '")}')` : i += `#%#//scriptlet('${e.name}')`),
var trace = console.trace.bind(console); n && n(i);
var label = `${ADGUARD_PREFIX} `; } catch (e) {}
if (source.engine === "corelibs") { "function" == typeof window.__debug && window.__debug(e);
label += source.ruleText;
} else {
if (source.domainName) {
label += `${source.domainName}`;
}
if (source.args) {
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
} else {
label += `#%#//scriptlet('${source.name}')`;
}
}
if (trace) {
trace(label);
}
} catch (e) {}
if (typeof window.__debug === "function") {
window.__debug(source);
} }
} }
function noopFunc() {} function noopFunc() {}

View File

@@ -91,32 +91,15 @@
} }
hit(source); hit(source);
} }
function hit(source) { function hit(e) {
var ADGUARD_PREFIX = "[AdGuard]"; if (e.verbose) {
if (!source.verbose) { try {
return; var n = console.trace.bind(console), i = "[AdGuard] ";
} "corelibs" === e.engine ? i += e.ruleText : (e.domainName && (i += `${e.domainName}`),
try { e.args ? i += `#%#//scriptlet('${e.name}', '${e.args.join("', '")}')` : i += `#%#//scriptlet('${e.name}')`),
var trace = console.trace.bind(console); n && n(i);
var label = `${ADGUARD_PREFIX} `; } catch (e) {}
if (source.engine === "corelibs") { "function" == typeof window.__debug && window.__debug(e);
label += source.ruleText;
} else {
if (source.domainName) {
label += `${source.domainName}`;
}
if (source.args) {
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
} else {
label += `#%#//scriptlet('${source.name}')`;
}
}
if (trace) {
trace(label);
}
} catch (e) {}
if (typeof window.__debug === "function") {
window.__debug(source);
} }
} }
function noopFunc() {} function noopFunc() {}

View File

@@ -80,48 +80,24 @@
window._gat = gat; window._gat = gat;
hit(source); hit(source);
} }
function hit(source) { function hit(e) {
var ADGUARD_PREFIX = "[AdGuard]"; if (e.verbose) {
if (!source.verbose) { try {
return; var n = console.trace.bind(console), i = "[AdGuard] ";
} "corelibs" === e.engine ? i += e.ruleText : (e.domainName && (i += `${e.domainName}`),
try { e.args ? i += `#%#//scriptlet('${e.name}', '${e.args.join("', '")}')` : i += `#%#//scriptlet('${e.name}')`),
var trace = console.trace.bind(console); n && n(i);
var label = `${ADGUARD_PREFIX} `; } catch (e) {}
if (source.engine === "corelibs") { "function" == typeof window.__debug && window.__debug(e);
label += source.ruleText;
} else {
if (source.domainName) {
label += `${source.domainName}`;
}
if (source.args) {
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
} else {
label += `#%#//scriptlet('${source.name}')`;
}
}
if (trace) {
trace(label);
}
} catch (e) {}
if (typeof window.__debug === "function") {
window.__debug(source);
} }
} }
function noopFunc() {} function noopFunc() {}
function logMessage(source, message) { function logMessage(e, o) {
var forced = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], g = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3], {name: l, verbose: v} = e;
var convertMessageToString = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; if (n || v) {
var {name: name, verbose: verbose} = source; var a = console.log;
if (!forced && !verbose) { g ? a(`${l}: ${o}`) : a(`${l}:`, o);
return;
} }
var nativeConsole = console.log;
if (!convertMessageToString) {
nativeConsole(`${name}:`, message);
return;
}
nativeConsole(`${name}: ${message}`);
} }
const updatedArgs = args ? [].concat(source).concat(args) : [ source ]; const updatedArgs = args ? [].concat(source).concat(args) : [ source ];
try { try {

View File

@@ -60,32 +60,15 @@
hit(source); hit(source);
} }
} }
function hit(source) { function hit(e) {
var ADGUARD_PREFIX = "[AdGuard]"; if (e.verbose) {
if (!source.verbose) { try {
return; var n = console.trace.bind(console), i = "[AdGuard] ";
} "corelibs" === e.engine ? i += e.ruleText : (e.domainName && (i += `${e.domainName}`),
try { e.args ? i += `#%#//scriptlet('${e.name}', '${e.args.join("', '")}')` : i += `#%#//scriptlet('${e.name}')`),
var trace = console.trace.bind(console); n && n(i);
var label = `${ADGUARD_PREFIX} `; } catch (e) {}
if (source.engine === "corelibs") { "function" == typeof window.__debug && window.__debug(e);
label += source.ruleText;
} else {
if (source.domainName) {
label += `${source.domainName}`;
}
if (source.args) {
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
} else {
label += `#%#//scriptlet('${source.name}')`;
}
}
if (trace) {
trace(label);
}
} catch (e) {}
if (typeof window.__debug === "function") {
window.__debug(source);
} }
} }
const updatedArgs = args ? [].concat(source).concat(args) : [ source ]; const updatedArgs = args ? [].concat(source).concat(args) : [ source ];

View File

@@ -378,32 +378,15 @@
} }
hit(source); hit(source);
} }
function hit(source) { function hit(e) {
var ADGUARD_PREFIX = "[AdGuard]"; if (e.verbose) {
if (!source.verbose) { try {
return; var n = console.trace.bind(console), i = "[AdGuard] ";
} "corelibs" === e.engine ? i += e.ruleText : (e.domainName && (i += `${e.domainName}`),
try { e.args ? i += `#%#//scriptlet('${e.name}', '${e.args.join("', '")}')` : i += `#%#//scriptlet('${e.name}')`),
var trace = console.trace.bind(console); n && n(i);
var label = `${ADGUARD_PREFIX} `; } catch (e) {}
if (source.engine === "corelibs") { "function" == typeof window.__debug && window.__debug(e);
label += source.ruleText;
} else {
if (source.domainName) {
label += `${source.domainName}`;
}
if (source.args) {
label += `#%#//scriptlet('${source.name}', '${source.args.join("', '")}')`;
} else {
label += `#%#//scriptlet('${source.name}')`;
}
}
if (trace) {
trace(label);
}
} catch (e) {}
if (typeof window.__debug === "function") {
window.__debug(source);
} }
} }
function noopFunc() {} function noopFunc() {}
@@ -420,7 +403,7 @@
return ""; return "";
} }
function trueFunc() { function trueFunc() {
return true; return !0;
} }
const updatedArgs = args ? [].concat(source).concat(args) : [ source ]; const updatedArgs = args ? [].concat(source).concat(args) : [ source ];
try { try {

View File

@@ -29,7 +29,7 @@
<p> <p>
Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="/LICENSE" target="_blank">AGPL-3.0</a> Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="/LICENSE" target="_blank">AGPL-3.0</a>
</p> </p>
<p>Last Build: 2025-05-21T18:41:51.548Z</p> <p>Last Build: 2025-05-22T12:48:07.682Z</p>
<br> <br>
<ul class="directory-list"> <ul class="directory-list">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -45,7 +45,7 @@
"8.136.0.0/13", "8.136.0.0/13",
"8.144.0.0/14", "8.144.0.0/14",
"8.148.0.0/19", "8.148.0.0/19",
"8.148.32.0/21", "8.148.36.0/22",
"8.148.40.0/22", "8.148.40.0/22",
"8.148.64.0/18", "8.148.64.0/18",
"8.148.128.0/17", "8.148.128.0/17",
@@ -850,6 +850,8 @@
"101.245.0.0/23", "101.245.0.0/23",
"101.245.16.0/23", "101.245.16.0/23",
"101.245.32.0/21", "101.245.32.0/21",
"101.245.48.0/20",
"101.245.64.0/18",
"101.246.172.0/22", "101.246.172.0/22",
"101.246.176.0/20", "101.246.176.0/20",
"101.248.0.0/15", "101.248.0.0/15",

View File

@@ -181,7 +181,6 @@
"2401:f860:90::/47", "2401:f860:90::/47",
"2401:f860:93::/48", "2401:f860:93::/48",
"2401:f860:100::/40", "2401:f860:100::/40",
"2401:f860:f100::/40",
"2401:fa00:40::/43", "2401:fa00:40::/43",
"2402:840:d000::/46", "2402:840:d000::/46",
"2402:840:e000::/46", "2402:840:e000::/46",
@@ -304,7 +303,6 @@
"2404:2280:13b::/48", "2404:2280:13b::/48",
"2404:2280:13c::/47", "2404:2280:13c::/47",
"2404:2280:142::/48", "2404:2280:142::/48",
"2404:2280:147::/48",
"2404:2280:14f::/48", "2404:2280:14f::/48",
"2404:2280:150::/48", "2404:2280:150::/48",
"2404:2280:152::/48", "2404:2280:152::/48",
@@ -323,7 +321,6 @@
"2404:2280:18a::/47", "2404:2280:18a::/47",
"2404:2280:18c::/46", "2404:2280:18c::/46",
"2404:2280:193::/48", "2404:2280:193::/48",
"2404:2280:196::/48",
"2404:2280:198::/45", "2404:2280:198::/45",
"2404:2280:1a4::/46", "2404:2280:1a4::/46",
"2404:2280:1a8::/47", "2404:2280:1a8::/47",
@@ -1338,6 +1335,7 @@
"2a0f:7803:fe42::/47", "2a0f:7803:fe42::/47",
"2a0f:7803:fe44::/46", "2a0f:7803:fe44::/46",
"2a0f:7803:fe4a::/48", "2a0f:7803:fe4a::/48",
"2a0f:7803:fe4e::/48",
"2a0f:7803:fe81::/48", "2a0f:7803:fe81::/48",
"2a0f:7803:fe82::/48", "2a0f:7803:fe82::/48",
"2a0f:7804:da00::/40", "2a0f:7804:da00::/40",
@@ -1354,7 +1352,6 @@
"2a0f:ac00::/29", "2a0f:ac00::/29",
"2a10:2f00:15a::/48", "2a10:2f00:15a::/48",
"2a10:cc40:190::/48", "2a10:cc40:190::/48",
"2a10:ccc0:d01::/48",
"2a12:f8c3::/36", "2a12:f8c3::/36",
"2a13:1800::/48", "2a13:1800::/48",
"2a13:1800:10::/48", "2a13:1800:10::/48",
@@ -1398,8 +1395,7 @@
"2a14:67c1:b066::/47", "2a14:67c1:b066::/47",
"2a14:67c1:b068::/47", "2a14:67c1:b068::/47",
"2a14:67c1:b100::/46", "2a14:67c1:b100::/46",
"2a14:67c1:b104::/47", "2a14:67c1:b105::/48",
"2a14:67c1:b106::/48",
"2a14:67c1:b400::/43", "2a14:67c1:b400::/43",
"2a14:67c5:1000::/39", "2a14:67c5:1000::/39",
"2a14:7580:730::/44", "2a14:7580:730::/44",