surf-adblock-dl - surf-adblock - Surf adblock web extension
(HTM) git clone git://git.codemadness.org/surf-adblock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
surf-adblock-dl (690B)
---
1 #!/bin/sh
2 # download Adblock/ublock lists and merge them.
3
4 set -x -e
5
6 for l in \
7 https://easylist.github.io/easylist/easylist.txt\
8 https://easylist.github.io/easylist/easyprivacy.txt\
9 https://easylist-downloads.adblockplus.org/antiadblockfilters.txt\
10 https://easylist-downloads.adblockplus.org/easylistdutch.txt\
11 https://easylist.github.io/easylistgermany/easylistgermany.txt\
12 https://easylist-downloads.adblockplus.org/liste_fr.txt\
13 https://easylist.github.io/easylist/fanboy-annoyance.txt\
14 https://easylist.github.io/easylist/fanboy-social.txt; do
15
16 curl -L "$l"
17 echo "" # not all lists have line at EOF.
18 done | awk '!x[$0]++'
19 # ^ remove duplicate lines but keep the order.