Fix: Ship plain JavaScript instead of code that builds code at run time (eval, new Function, setTimeout with a string); it also lets a strict Content-Security-Policy be used.
The response has no Referrer-Policy,X-Frame-Options,Permissions-Policy,X-Content-Type-Options,Content-Security-Policy,Strict-Transport-Security
9 third-party domains · 64 requests; 31 went to third parties
9 third-party domains receive requests from the page: 64 requests were made; 31 went to third parties. The list below keeps 39 of them. 58 more domains are named in the page without being requested.
Receives requests9 domains · 31 requests · scroll for all
ajax.googleapis.comGoogle Hosted Libraries · libraries from a public cdn · 1 request1 Script (85 KB)
cdnjs.cloudflare.comcdnjs · libraries from a public cdn · 1 request1 Stylesheet (30 KB)
foreshadowattack.com made 64 requests to load this time; this list keeps what was asked of other domains: 31 requests to third parties and 8 requests to the site the visit ended on, 26 resources, 4.2 MB (12 Script, 9 XHR, 9 Image, 7 Stylesheet, 2 Document).
POST · www.youtube.com/youtubei/v1/log_event · application/json · 3 KB · 1.75 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,basefields context, events, serializedClientEventId
EU
POST · www.youtube.com/youtubei/v1/log_event · application/json · 3 KB · 1.85 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,basefields context, events, serializedClientEventId
EU
POST · jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT ·application/json+protobuf · 3 KB, binary or large body, not kept · 3.03 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,base
POST · jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT ·application/json+protobuf · 3 KB, binary or large body, not kept · 3.59 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,base
POST · www.youtube.com/youtubei/v1/log_event · application/json · 10 KB · 5.63 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,basefields serializedClientEventId, context, events
EU
POST · www.youtube.com/youtubei/v1/log_event · application/json · 9 KB · 5.81 s · from https://www.youtube.com/s/_/ytembeds/_/js/k=ytembeds.base.en_US.ePISCACLtdk.2021.O/am=AAAAACAAABw/d=1/excm=base,root/br=1/rs=AGKMywF-Rq5KkLuLa6THzkMVcgW3v-JOqQ/m=root,basefields context, events, serializedClientEventId
EU
Events after load 69 events · frames 3
Events after load, by type
Total
69 events recorded after the page of foreshadowattack.com loaded; frames 3.
Focus/visibility watch · 13
blur × 3 · visibilitychange × 10by jquery.min.js, ynB1inl4G3c, 8ZF6kX6z7pM, m=root,base, base.js, m=r78Drb at 0.82 to 2.95 s
Key listener · 7
keydown@document × 3 · keyup@document × 2 · keydown@window × 2by jquery.min.js, base.js, m=r78Drb at 0.82 to 3.02 s
XHR (non-GET) · 6
POST /youtubei/v1/log_event?alt × 4 · POST https://jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT × 2by m=root,base at 1.73 to 5.80 s
POST request · 6
POST https://www.youtube.com/youtubei/v1/log_event?alt × 4 · POST https://jnn-pa.googleapis.com/$rpc/google.internal.waa.v1.Waa/GenerateIT () × 2by m=root,base at 1.75 to 5.83 s
beforeunload · 4
beforeunload × 4by m=root,base at 1.93 to 1.94 s
Storage write · 13
local:__sak × 6 · session:__sak × 2 · local:yt-icons-last-purged ·local:ytidb::LAST_RESULT_ENTRY_KEY × 4by m=root,base, base.js, m=r78Drb at 1.93 to 5.73 s
Cookie write (JS) · 10
TESTCOOKIESENABLED × 6 · LAST_RESULT_ENTRY_KEY × 4by base.js, m=root,base at 2.03 to 5.73 s
eval · 10
by OBn0-lcK2heSsQvwZqBdYDSSLon5TOClfDI9QSdpnEY.js, m=root,base at 2.57 to 3.13 s
69 events · the first 30 listed, in secondsscroll for all
foreshadowattack.com – page behaviour
t
Event
Detail
Origin
0.824 s
Focus/visibility watch
blur
jquery.min.js
0.824 s
Key listener
keydown@document
jquery.min.js
1.497 s
Focus/visibility watch
visibilitychange
ynB1inl4G3c
1.531 s
Focus/visibility watch
visibilitychange
8ZF6kX6z7pM
1.725 s
XHR (non-GET)
POST /youtubei/v1/log_event?alt=json
m=root,base
1.751 s
POST request
POST https://www.youtube.com/youtubei/v1/log_event?alt=json(context,events,serializedClientEventId)
m=root,base
1.846 s
XHR (non-GET)
POST /youtubei/v1/log_event?alt=json
m=root,base
1.851 s
POST request
POST https://www.youtube.com/youtubei/v1/log_event?alt=json(context,events,serializedClientEventId)