19 lines
403 B
Bash
Executable File
19 lines
403 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## download adblock list for luakit ##
|
|
# adblocklist.sh by @root_informatica.
|
|
|
|
# lists urls
|
|
RLISTS="https://easylist.to/easylist/easylist.txt \
|
|
https://easylist.to/easylist/easyprivacy.txt \
|
|
https://secure.fanboy.co.nz/fanboy-cookiemonster.txt"
|
|
|
|
# local directory lists
|
|
LDIR="$HOME/.local/share/luakit/adblock"
|
|
|
|
# download
|
|
for l in $RLISTS; do
|
|
curl --url $l --output $LDIR/${l##*/}
|
|
done
|
|
|