Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #531 #547 #529 #560

Merged
merged 5 commits into from
Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extensions/regional/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ sed '/#/d' -i $file
sed '/.blogspot./d;/.wixsite./d;/.wordpress./d;/\//d;/:/d;/(/d;/|/d;/\[/d;/\]/d' -i $file
# Remove Blank/Empty Lines
sed '/^$/d' -i $file
# Remove entries with two successive dots
sed '/../d' -i $file
# Removes Whitespace
cat $file | tr -d '\r' >> $temp
# Sort, Remove Duplicate and Write
Expand Down Expand Up @@ -348,7 +350,8 @@ mv -f $atemp $domains
rm -f $temp $atemp
echo $G"! Building "$N$Y"adblock filter"$N$G" Format"$N
# Adblock Filter Header
echo "$headerLogoAB
echo "[Adblock Plus 3.6]
$headerLogoAB
! $dividerTiny
! P A C K D E T A I L S
! $dividerTiny
Expand Down
2 changes: 1 addition & 1 deletion extensions/social/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ wget -qO- https://block.energized.pro/assets/sources/filter/adguard-social-filte
wget -qO- https://block.energized.pro/assets/sources/filter/adguard-social-popups.txt; \
wget -qO- https://block.energized.pro/assets/sources/filter/adguard-social-trackers.txt; \
wget -qO- https://block.energized.pro/assets/sources/filter/adversity-anti-social.txt; \
wget -qO- https://block.energized.pro/assets/mirror/ut1-social-networks.txt; \
### wget -qO- https://block.energized.pro/assets/mirror/ut1-social-networks.txt; \
wget -qO- https://raw.githubusercontent.com/kowith337/PersonalFilterListCollection/master/hosts/hosts_facebook0.txt; \
wget -qO- https://ep.nayemador.com/core/social; \
} > $file
Expand Down
4 changes: 4 additions & 0 deletions extensions/xtreme/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ sed '/#/d' -i $file
sed '/.blogspot./d;/.wixsite./d;/.wordpress./d' -i $file
# Remove Blank/Empty Lines
sed '/^$/d' -i $file
# Attempts to remove entries that end with backslashes
sed '/\\$/d' -i $file
# Attempts to remove entries that end with dots
sed '/.$/d' -i $file
# Removes Whitespace
cat $file | tr -d '\r' >> $temp
# Sort, Remove Duplicate and Write
Expand Down
2 changes: 2 additions & 0 deletions unified/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ tr -cd '\11\12\40-\176' < $file > $temp
mv -f $temp $file
# Remove Blank/Empty Lines
sed '/^$/d' -i $file
# Attempts to remove entries that have backslashes in the middle of them
sed '/[a-z0-9]\\[a-z0-9]/d' -i $file
# Removes Whitespace
cat $file | tr -d '\r' >> $temp
# Sort, Remove Duplicate and Write
Expand Down