|
|
@ -463,12 +463,6 @@ gravity_DownloadBlocklists() {
|
|
|
|
# Default user-agent (for Cloudflare's Browser Integrity Check: https://support.cloudflare.com/hc/en-us/articles/200170086-What-does-the-Browser-Integrity-Check-do-)
|
|
|
|
# Default user-agent (for Cloudflare's Browser Integrity Check: https://support.cloudflare.com/hc/en-us/articles/200170086-What-does-the-Browser-Integrity-Check-do-)
|
|
|
|
agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36"
|
|
|
|
agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36"
|
|
|
|
|
|
|
|
|
|
|
|
# Provide special commands for blocklists which may need them
|
|
|
|
|
|
|
|
case "${domain}" in
|
|
|
|
|
|
|
|
"pgl.yoyo.org") cmd_ext="-d mimetype=plaintext -d hostformat=hosts";;
|
|
|
|
|
|
|
|
*) cmd_ext="";;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -e " ${INFO} Target: ${url}"
|
|
|
|
echo -e " ${INFO} Target: ${url}"
|
|
|
|
local regex check_url
|
|
|
|
local regex check_url
|
|
|
|
# Check for characters NOT allowed in URLs
|
|
|
|
# Check for characters NOT allowed in URLs
|
|
|
|