From 33de898d1d5f7a884429d8abc8daaa4e37e49634 Mon Sep 17 00:00:00 2001 From: Arkadiusz Wieczorek Date: Sun, 24 Jul 2022 14:41:29 +0200 Subject: [PATCH] Cleanup --- Docker/run-analysis.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Docker/run-analysis.sh b/Docker/run-analysis.sh index 5f61dac..f237350 100755 --- a/Docker/run-analysis.sh +++ b/Docker/run-analysis.sh @@ -31,7 +31,6 @@ fi ORIGIN_DOMAIN=$(sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/' <<< "$URL") - if [ -z "$FILTERED_DOMAINS" ] then echo "No need to blot" @@ -40,21 +39,6 @@ else grab bloat_firefox fi -# while IFS= read -r DOMAIN; do -# # these domains return a 404 anyways, no need to waste time on them: -# if is_http_error "$DOMAIN"; then echo "skipping $DOMAIN"; continue; fi -# load_website "$DOMAIN?hl=pl" "$DOMAIN" -# sleep 1 # sometimes the consent popup needs a little time -# open_console -# grab "$DOMAIN before" -# (tr '\n' ' ' < click-accept-all.js) | xclip -sel clip -# keycombo Control_L v -# sleep 0.3 -# xdotool key Return -# sleep 1.5 -# grab "$DOMAIN after" -# done <<< "$DOMAINS" - click 1270 217 # the "trash" icon, so requests from plamienie don't appear in the screenshots load_website "$URL" "$URL"