Shorter waiting time while tainting

This commit is contained in:
Kuba Orlik 2022-07-15 12:25:33 +02:00
parent e003190c2f
commit 7f0fa65050
2 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,7 @@ 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 4 # sometimes the consent popup needs a little time
open_console
grab "$DOMAIN before"
(tr '\n' ' ' < click-accept-all.js) | xclip -sel clip

View File

@ -178,7 +178,6 @@ load_website(){
wait_for_website_to_load
sleep 0.3
wait_for_website_to_load
sleep 7 # sometimes the consent modal needs a little time to show up
}
open_network_inspector(){