Shorter waiting time while tainting
This commit is contained in:
parent
e003190c2f
commit
7f0fa65050
|
@ -32,6 +32,7 @@ while IFS= read -r DOMAIN; do
|
||||||
# these domains return a 404 anyways, no need to waste time on them:
|
# these domains return a 404 anyways, no need to waste time on them:
|
||||||
if is_http_error "$DOMAIN"; then echo "skipping $DOMAIN"; continue; fi
|
if is_http_error "$DOMAIN"; then echo "skipping $DOMAIN"; continue; fi
|
||||||
load_website "$DOMAIN?hl=pl" "$DOMAIN"
|
load_website "$DOMAIN?hl=pl" "$DOMAIN"
|
||||||
|
sleep 4 # sometimes the consent popup needs a little time
|
||||||
open_console
|
open_console
|
||||||
grab "$DOMAIN before"
|
grab "$DOMAIN before"
|
||||||
(tr '\n' ' ' < click-accept-all.js) | xclip -sel clip
|
(tr '\n' ' ' < click-accept-all.js) | xclip -sel clip
|
||||||
|
|
|
@ -178,7 +178,6 @@ load_website(){
|
||||||
wait_for_website_to_load
|
wait_for_website_to_load
|
||||||
sleep 0.3
|
sleep 0.3
|
||||||
wait_for_website_to_load
|
wait_for_website_to_load
|
||||||
sleep 7 # sometimes the consent modal needs a little time to show up
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open_network_inspector(){
|
open_network_inspector(){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user