Add firefox bloating (przedplamienie FF) #34

Merged
arek merged 10 commits from #29 into master 2022-11-29 12:45:47 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4b1db397e2 - Show all commits

View File

@ -7,7 +7,7 @@ bloat_firefox(){
DOMAINS=$(printf '%s\n' "${BLOATING_DOMAINS[@]}") DOMAINS=$(printf '%s\n' "${BLOATING_DOMAINS[@]}")
else else
echo "Bloating Firefox by requested domain list..." echo "Bloating Firefox by requested domain list..."
DOMAINS=`node filter-requested-domains.js "$(echo $1 | jq .third_party_domains)"` DOMAINS=`node filter-requested-domains.js "$1"`
echo "selected domains" echo "selected domains"
echo $DOMAINS echo $DOMAINS
fi fi

View File

@ -30,7 +30,7 @@ fi
ORIGIN_DOMAIN=$(sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/' <<< "$URL") ORIGIN_DOMAIN=$(sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/' <<< "$URL")
bloat_firefox $INPUT bloat_firefox "$DOMAINS"
grab bloat_firefox grab bloat_firefox
click 1270 217 # the "trash" icon, so requests from plamienie don't appear in the screenshots click 1270 217 # the "trash" icon, so requests from plamienie don't appear in the screenshots