mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 20:35:13 +08:00
Update adblock.sh
This commit is contained in:
1 parent
dea4252245
commit
ac2cf2855a
1 file changed
+1
-1
@@ -50,7 +50,7 @@ process_url() {
|
|||||||
# 去除首尾空格
|
# 去除首尾空格
|
||||||
gsub(/^[[:space:]]+|[[:space:]]+$/, "")
|
gsub(/^[[:space:]]+|[[:space:]]+$/, "")
|
||||||
# 跳过注释和空行
|
# 跳过注释和空行
|
||||||
if ($0 ~ /^#/ || $0 == "") next
|
if ($0 ~ /^#/ || $0 ~ /^!/ || $0 == "") next
|
||||||
|
|
||||||
# 前20行探测格式
|
# 前20行探测格式
|
||||||
if (sample_count < 20) {
|
if (sample_count < 20) {
|
||||||
|
|||||||
Reference in new issue
Block a user