GET
H2
|
200
|
Primary Request
/
Show response
www.giga.de/
Redirect Chain
-
http://www.giga.de/
-
https://www.giga.de/
|
211 KB
63 KB
|
138ms
123ms
|
Document
text/html |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-700.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
15 KB
15 KB
|
13ms
13ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-600.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
15 KB
16 KB
|
13ms
12ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-regular.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
16 KB
16 KB
|
13ms
13ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
lux.js
Show response
cdn.speedcurve.com/js/
|
19 KB
7 KB
|
25ms
5ms
|
Script
application/javascript |
151.101.14.217
Fastly
|
|
|
GET
H2
|
200
|
pre-ca49b27b98.js
Show response
www.giga.de/static-local/dist/assets/js/
|
33 KB
10 KB
|
13ms
12ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
main-desktop-00600edd16.css
www.giga.de/static-local/dist/assets/css/
|
401 KB
53 KB
|
16ms
15ms
|
Stylesheet
text/css |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
iam.js
Show response
script.ioam.de/
|
34 KB
11 KB
|
35ms
11ms
|
Script
application/javascript |
91.215.103.64
INFONLINE-AS
|
|
|
GET
H2
|
200
|
metaTag.min.3bc363a8612dae93e42ce451ef9f7c76.js
Show response
js.stroeermediabrands.de/
|
241 KB
59 KB
|
30ms
11ms
|
Script
application/javascript |
46.253.113.178
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
trackcp.js
Show response
gocp.stroeermediabrands.de/
|
28 KB
11 KB
|
8ms
1ms
|
Script
application/javascript |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
black-friday-GettyImages-1178114626-rcm625x352.jpg
static.giga.de/wp-content/uploads/2019/11/
|
36 KB
36 KB
|
37ms
19ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
samsung-galaxy-s10-android-10-oneui-2-q_giga-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
11 KB
12 KB
|
35ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/10/samsung-galaxy-s10-android-10-oneui-2-q_giga-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 0ae97947e61f3cfbc533be423ba1bbd7080d5b17758fb5b09fb9de383daa31a7
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
1.gif
www.gstatic.com/psa/static/
|
53 B
158 B
|
9ms
7ms
|
Image
image/gif |
2a00:1450:4001:820::2003
Google LLC
|
|
|
GET
H2
|
200
|
pk92_playstation-plus-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
8 KB
9 KB
|
35ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
blank.gif
ssl-econa.met.vgwort.de/
Redirect Chain
-
https://ssl-econa.met.vgwort.de/na/88a61797ead349848b785fbd677f9b19
-
https://ssl-econa.met.vgwort.de/blank.gif
|
43 B
310 B
|
11ms
11ms
|
Image
image/gif |
161.156.66.178
SoftLayer Technol...
|
|
|
GET
H2
|
200
|
tr
www.facebook.com/
|
44 B
252 B
|
8ms
6ms
|
Image
image/gif |
2a03:2880:f11c:8183:face:b00c:0:25de
Facebook
|
|
|
GET
H2
|
200
|
analytics.js
Show response
www.google-analytics.com/
|
43 KB
17 KB
|
7ms
6ms
|
Script
text/javascript |
2a00:1450:4001:81b::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/analytics.js
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/static-local/dist/assets/js/pre-ca49b27b98.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- dbb67c620eaabf6679a314db18d3ae43037aef71ab27422e6feec08ee987cc0a
- Security Headers
-
Name |
Value |
Strict-Transport-Security |
max-age=10886400; includeSubDomains; preload |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
200
|
apstag.js
Show response
c.amazon-adsystem.com/aax2/
|
88 KB
26 KB
|
10ms
9ms
|
Script
application/javascript |
52.222.171.40
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
api
Show response
tracking.m6r.eu/sync/
Redirect Chain
-
https://cdn.m6r.eu/sync/api
-
https://tracking.m6r.eu/sync/api?checkcookies=true
|
1 KB
1 KB
|
25ms
25ms
|
Script
application/javascript |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
init
Show response
d.nativendo.de/cds/delivery/
|
991 B
919 B
|
31ms
14ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
blank.gif
de.ioam.de/
Redirect Chain
-
https://de.ioam.de/tx.io?st=giga&cp=giga_home&sv=ke&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.giga.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0016&i2=0016be785940a1b0f5de0f889&ep=1598364637&vr=415&id=sxnjy...
-
https://de.ioam.de/tx.io?st=giga&cp=giga_home&sv=ke&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.giga.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=0016&i2=0016be785940a1b0f5de0f889&ep=1598364637&vr=415&id=sxnjy...
-
https://de.ioam.de/blank.gif
|
43 B
651 B
|
11ms
10ms
|
Image
image/gif |
91.215.103.65
INFONLINE-AS
|
|
|
GET
H2
|
200
|
7cfe79b6142f4400ca35074e18_AzQxN2ViNDQwMzcx_5391a0f1463210c3d69a518c54101ff6.png
teaser.giga.de/48/41/df/
|
15 KB
15 KB
|
31ms
12ms
|
Image
image/png |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://teaser.giga.de/48/41/df/7cfe79b6142f4400ca35074e18_AzQxN2ViNDQwMzcx_5391a0f1463210c3d69a518c54101ff6.png
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 5246644be6089cd84b624b1a21bd706846595d40af34d13a9d43534bceaff106
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
fontello.woff2
www.giga.de/static-local/dist/assets/fonts/fontello/
|
10 KB
10 KB
|
15ms
15ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
415710348
Show response
videos.giga.de/embed/
Frame A013
|
9 KB
3 KB
|
35ms
19ms
|
Document
text/html |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
bg.jpg
www.giga.de/special/gutscheine/
|
10 KB
10 KB
|
8ms
8ms
|
Image
image/jpeg |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
icons-sprite.png
www.giga.de/special/gutscheine/
|
14 KB
14 KB
|
8ms
8ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/r/
|
35 B
111 B
|
14ms
14ms
|
Image
image/gif |
2a00:1450:4001:81b::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/r/collect?v=1&_v=j79&aip=1&a=495612959&t=pageview&_s=1&dl=https%3A%2F%2Fwww.giga.de%2F&ul=en-us&de=UTF-8&dt=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&sd=24-bit&sr=1600x1200&vp=1585x1200&je=0&_u=4GBAAEAB~&jid=1142472053&gjid=1935566421&cid=2066417258.1575024778&tid=UA-204785-4&_gid=1763856413.1575024778&_r=1&cd1=&cd5=2011-11-09T13%3A44%3A29%2B01%3A00&cg1=Startseite&cg2=484&cg3=04-2016&cd2=gruen&cd6=Startseite&cd8=website&cd3=&cd15=website&cd17=not%20logged%20in&cd24=default&cd37=&cd42=legacy&cd10=Variante%20%22flexible%20header%22&z=1821221751
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
200
|
samsung-galaxy-s10plus-telefonieren-q_giga-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/02/
|
9 KB
10 KB
|
7ms
7ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
aps_csm.js
Show response
c.amazon-adsystem.com/bao-csm/aps-comm/
|
6 KB
3 KB
|
25ms
8ms
|
XHR
application/javascript |
52.222.171.40
Amazon.com
|
|
|
GET
H2
|
200
|
tolino-vision-5-q_giga-DSC07550-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
9 KB
9 KB
|
7ms
7ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Saturn-Logo-Berlin-q_giga-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/07/
|
14 KB
15 KB
|
8ms
8ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H/1.0
|
200
OK
|
z.js
Show response
go.giga-abs.de/
|
1 KB
1 KB
|
29ms
6ms
|
Script
text/javascript |
178.19.72.20
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
iframe
tracking.m6r.eu/pixel/
Frame A125
Redirect Chain
-
https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA+OTHER
-
https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA%20OTHER&checkcookies=true
|
0
0
|
24ms
23ms
|
Document
text/html |
104.89.16.215
Akamai Technologies
|
|
General
- Full URL
- https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA%20OTHER&checkcookies=true
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.3,
, AES_256_GCM
- Server
-
104.89.16.215
, Netherlands,
ASN16625
(AKAMAI-AS - Akamai Technologies, Inc., US),
- Reverse DNS
- a104-89-16-215.deploy.static.akamaitechnologies.com
- Software
-
nginx /
- Resource Hash
|
GET
H2
|
200
|
tfa.js
Show response
cdn.taboola.com/libtrc/unip/1092206/
|
42 KB
14 KB
|
6ms
6ms
|
Script
application/javascript |
151.101.14.2
Fastly
|
|
|
GET
H2
|
200
|
gpt.js
Show response
securepubads.g.doubleclick.net/tag/js/
|
51 KB
15 KB
|
15ms
14ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
GET
H2
|
200
|
yieldlove-bidder-stroeer.js
Show response
cdn-a.yieldlove.com/
|
286 KB
89 KB
|
37ms
7ms
|
Script
application/javascript |
13.225.78.101
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
mtrcs_679600.js
Show response
s400.mxcdn.net/bb-mx/serve/
|
126 KB
49 KB
|
92ms
29ms
|
Script
text/javascript |
95.100.145.49
Akamai Technologies
|
|
|
GET
H/1.1
|
302
Moved Temporarily
|
dmp
Show response
tracking.m6r.eu/sync/
Redirect Chain
-
https://tracking.m6r.eu/sync/dmp
-
https://tracking.m6r.eu/sync/dmp?checkcookies=true
|
0
-1 B
|
27ms
16ms
|
XHR
text/plain |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
nuggad
Show response
nugmw.userreport.com/rc-ap/000d8512-def7-4586-89d6-5d357296200a/si.nuggad.net/
Redirect Chain
-
https://si.nuggad.net/rc?nuggn=571289945&nuggsid=947908416&nuggtg=&nuggrid=https%3A%2F%2Fwww.giga.de%2F
-
https://nugmw.userreport.com/rc-ap/000d8512-def7-4586-89d6-5d357296200a/si.nuggad.net/nuggad?nuggn=571289945&nuggsid=947908416&nuggtg=&nuggrid=https%3A%2F%2Fwww.giga.de%2F
|
2 KB
2 KB
|
77ms
26ms
|
Script
text/javascript |
2600:9000:2156:1200:1f:a1b:34c0:93a1
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
ad-loading.gif
www.dunkirkinception.com/detect/
|
123 B
434 B
|
50ms
9ms
|
Image
image/png |
35.156.29.62
Amazon.com
|
|
|
GET
H2
|
200
|
tag.js
Show response
js.agkn.com/prod/v0/
|
3 KB
3 KB
|
46ms
7ms
|
Script
application/javascript |
2600:9000:20eb:ae00:15:efbc:e300:93a1
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
config.json
Show response
gocp.stroeermediabrands.de/absconf/www.giga.de/
|
19 KB
19 KB
|
16ms
10ms
|
Fetch
application/json |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
loader.js
Show response
c.nativendo.de/cdn/asset/js/
|
54 KB
17 KB
|
65ms
26ms
|
Script
application/javascript |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
giga-772cc0e021.js
Show response
www.giga.de/static-local/dist/assets/js/bundle/
|
31 KB
12 KB
|
8ms
8ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
dmp
Show response
tracking.m6r.eu/sync/
|
108 B
607 B
|
45ms
43ms
|
XHR
application/json |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
video-gallery-fff486d99c.js
Show response
www.giga.de/static-local/dist/assets/js/components/
|
782 B
688 B
|
9ms
8ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
videojs-c972511a.min.js
Show response
videos.giga.de/dist/js/embed/bundle/
Frame A013
|
619 KB
206 KB
|
15ms
14ms
|
Script
application/javascript |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
ima3.js
Show response
imasdk.googleapis.com/js/sdkloader/
Frame A013
|
273 KB
93 KB
|
28ms
14ms
|
Script
text/javascript |
2a00:1450:4001:816::200a
Google LLC
|
|
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
18ms
6ms
|
Image
image/gif |
178.19.72.20
HGCOMP-ASN
|
|
General
- Full URL
- https://go.giga-abs.de/o.gif?__ir=&__is=1600_1200_24&__iu=https%3A%2F%2Fwww.giga.de%2F&__id=1575024777863&__it=-60&__ic=727391&__iq=d60947d71dc6b8363d958031bdb4812c&__ig=1
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.0
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.72.20
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
X/1.0 /
- Resource Hash
- 2d865c4f2d21f06c2c74d99850d1a387bc4b2f42add0b96c6297d039b884d46f
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.de/adsid/
|
109 B
171 B
|
16ms
16ms
|
Script
application/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://adservice.google.de/adsid/integrator.js?domain=www.giga.de
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/tag/js/gpt.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- 0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.com/adsid/
|
109 B
171 B
|
16ms
16ms
|
Script
application/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://adservice.google.com/adsid/integrator.js?domain=www.giga.de
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/tag/js/gpt.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- 0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
pubads_impl_2019111801.js
Show response
securepubads.g.doubleclick.net/gpt/
|
159 KB
58 KB
|
15ms
15ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
GET
H2
|
200
|
-480x60._UsJCX8.gif
www.giga.de/imagS/
|
71 B
474 B
|
35ms
34ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
videojs-f50f7a8d.css
videos.giga.de/dist/css/
Frame A013
|
53 KB
15 KB
|
8ms
7ms
|
Stylesheet
text/css |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
play_button.svg
videos.giga.de/image/
Frame A013
|
1015 B
1 KB
|
9ms
8ms
|
Image
image/svg+xml |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
dkuim.js
Show response
dkuim.de/api/js/2/
|
465 KB
151 KB
|
44ms
15ms
|
Script
application/javascript |
178.19.65.130
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
t.png
gocp.stroeermediabrands.de/
|
98 B
355 B
|
3ms
1ms
|
Image
image/png |
188.40.16.106
HETZNER-AS
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
3 KB
2 KB
|
21ms
21ms
|
Script
text/javascript |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
jquery.min.js
Show response
ajax.googleapis.com/ajax/libs/jquery/3.2.1/
|
85 KB
30 KB
|
6ms
6ms
|
Script
text/javascript |
2a00:1450:4001:817::200a
Google LLC
|
|
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
12 KB
5 KB
|
76ms
75ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1435091010415958&correlator=4195436988493638&output=ldjh&impl=fif&adsid=NT&eid=21065219%2C21062833%2C21063145&vrg=2019111801&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191129&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=20x10%7C30x10%7C40x10%7C80x10%7C848x90%7C968x90%7C770x250%7C800x250%7C970x250%7C468x60%7C728x90%7C728x180%7C1000x150%7C31x31&scp=as%3Dbanner%26adslot%3Dbanner%26pc%3D1%26af%3Df2x1%2Cf3x1%2Cf4x1%2Cf8x1%2Cwp%2Cfirepl%2Cbb%2Cfullb%2Cleadb%2Cdleadb%2Cvidwa%2Cbrabo%2Cfufrad%2Cfloor%2CvideoTakeover&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dchrome%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D3%26smb-hour%3D11%26yt%3D0%26adset%3Dbrsl%26mbrid%3D8e42fa81c29be05c5f7ce632548bc697%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26keywords%3D&cookie_enabled=1&bc=31&abxe=1&lmt=1575024777&dt=1575024777983&dlt=1575024777581&idt=365&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2474492366&uci=1&ifi=1&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=55&icsg=51573226112&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1000x0&msz=20x10&ga_vid=2066417258.1575024778&ga_sid=1575024778&ga_hid=495612959&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 16849c854b667fd47bade33fd9ea96fbc8f0442aaba63488cd4db8198af2cacb
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
pubads_impl_rendering_2019111801.js
Show response
securepubads.g.doubleclick.net/gpt/
|
65 KB
25 KB
|
15ms
15ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
GET
H2
|
200
|
container.html
tpc.googlesyndication.com/safeframe/1-0-36/html/
|
0
0
|
6ms
6ms
|
Other
text/html |
2a00:1450:4001:820::2001
Google LLC
|
|
General
- Full URL
- https://tpc.googlesyndication.com/safeframe/1-0-36/html/container.html
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:820::2001
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
/
- Resource Hash
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
9 KB
4 KB
|
69ms
67ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1435091010415958&correlator=4195436988493638&output=ldjh&impl=fif&adsid=NT&eid=21065219%2C21062833%2C21063145&vrg=2019111801&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191129&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x40%7C10x30%7C10x20%7C500x600%7C120x600%7C160x600%7C200x600%7C300x600%7C770x200%7C33x31&scp=as%3Dsky%26adslot%3Dsky%26rfree%3D200-299%26pc%3D1%26af%3Df1x4%2Cf1x3%2Cf1x2%2Cds%2Csky%2Chpad%2Cband&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dchrome%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D3%26smb-hour%3D11%26yt%3D0%26adset%3Dbrsl%26mbrid%3D8e42fa81c29be05c5f7ce632548bc697%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26keywords%3D&cookie_enabled=1&bc=31&abxe=1&lmt=1575024777&dt=1575024777996&dlt=1575024777581&idt=365&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3176545799&uci=2&ifi=2&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=56&icsg=2251851386911360&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=0x0&msz=10x40&ga_vid=2066417258.1575024778&ga_sid=1575024778&ga_hid=495612959&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 01660e42aa0e71721c0c50e15188cf158060cb7f15c4a656bfec83831c88201a
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
9 KB
4 KB
|
299ms
298ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1435091010415958&correlator=4195436988493638&output=ldjh&impl=fif&adsid=NT&eid=21065219%2C21062833%2C21063145&vrg=2019111801&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191129&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x20%7C10x10%7C300x250%7C34x31&scp=as%3Drectangle%26adslot%3Drectangle%26pc%3D1%26af%3Df1x2%2Cf1x1%2Cmrec&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dchrome%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D3%26smb-hour%3D11%26yt%3D0%26adset%3Dbrsl%26mbrid%3D8e42fa81c29be05c5f7ce632548bc697%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26keywords%3D&cookie_enabled=1&bc=31&abxe=1&lmt=1575024778&dt=1575024778010&dlt=1575024777581&idt=365&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3278712392&uci=3&ifi=3&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=56&icsg=2251851386911360&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=300x0&msz=10x20&ga_vid=2066417258.1575024778&ga_sid=1575024778&ga_hid=495612959&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 5d5056a2f20fa890a19b411ba27b663c848b0298db4968030b3b9aae09577047
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
383 B
285 B
|
295ms
295ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1435091010415958&correlator=4195436988493638&output=ldjh&impl=fif&adsid=NT&eid=21065219%2C21062833%2C21063145&vrg=2019111801&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191129&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=800x450%7C580x500%7C580x360%7C480x360%7C42x31&scp=as%3Dposterad%26adslot%3Dposterad%26pc%3D1%26af%3Dptad%2Cintxspt&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dchrome%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D3%26smb-hour%3D11%26yt%3D0%26adset%3Dbrsl%26mbrid%3D8e42fa81c29be05c5f7ce632548bc697%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26keywords%3D&cookie_enabled=1&bc=31&abxe=1&lmt=1575024778&dt=1575024778015&dlt=1575024777581&idt=365&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3442698974&uci=4&ifi=4&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=56&icsg=2251851386911360&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=950x0&msz=800x450&ga_vid=2066417258.1575024778&ga_sid=1575024778&ga_hid=495612959&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- dc201720e1ce31148e4e5c66702ba5a5c56b66e245fae60306f1b1ca75369e2e
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
3 KB
2 KB
|
292ms
292ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1435091010415958&correlator=4195436988493638&output=ldjh&impl=fif&adsid=NT&eid=21065219%2C21062833%2C21063145&vrg=2019111801&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191129&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=1x1&ists=1&scp=as%3Dout_of_page%26adslot%3Dout_of_page%26pc%3D1%26af%3Dtickerad&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dchrome%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D3%26smb-hour%3D11%26yt%3D0%26adset%3Dbrsl%26mbrid%3D8e42fa81c29be05c5f7ce632548bc697%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26keywords%3D&cookie_enabled=1&bc=31&abxe=1&lmt=1575024778&dt=1575024778022&dlt=1575024777581&idt=365&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2475195157&uci=5&ifi=5&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=56&icsg=2251851386911360&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1585x0&msz=1x1&ga_vid=2066417258.1575024778&ga_sid=1575024778&ga_hid=495612959&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- ff844e8444ab91d7c856416a23357c452b5eccae2ab3f2bf533ea7eceeada2d3
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
POST
H2
|
200
|
session
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
21ms
6ms
|
XHR
text/plain |
3.122.213.19
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
submit
lb21.s400.meetrics.net/bb-mx/
|
43 B
291 B
|
15ms
1ms
|
Image
image/gif |
136.243.4.81
HETZNER-AS
|
|
General
- Full URL
- https://lb21.s400.meetrics.net/bb-mx/submit?/d+HTBQAAAzwhFo0F0wFz6BvvA33F3uBnpFnhFukElvBfpyF+k2FoywAx5AtxAxtAy1AtxAx6Aw4At2A35A2wAwtAyuAxxA1uAytAkzB0zAlkFimFL2wFBLl1FC/2xFZCylFx1FlzF0mF1sFszFjyFllFugBm1FssFzjFylFluFluFhiFslFkgB3pFukFv3Ff3FliFrpF0yFlxF1lFz0FhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0FjhFujFlsFhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0Fz0FvyFhnFlpFumFvgBjzFzfF3lFirFp0FgjEw1FfxB2gAyhFtfF4BEOprFw6lCOqwFw6lClqwF23A52AwwALkmFBTkzFsFAAAAAAAZwSa1BPAAAAAAAAAOAAAAGAAAAAAAZwSa1BBRksFAQtjFfy/tSA
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.81
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h229.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb21.s400.meetrics.net/
|
43 B
308 B
|
14ms
1ms
|
Image
image/gif |
136.243.4.81
HETZNER-AS
|
|
|
GET
H2
|
200
|
nativendo.css
c.nativendo.de/cdn/asset/css/
|
5 KB
1 KB
|
17ms
16ms
|
Stylesheet
text/css |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H/1.1
|
200
OK
|
nuggad
ih.adscale.de/
|
49 B
487 B
|
96ms
38ms
|
Image
image/gif |
95.100.146.26
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
0
376 B
|
20ms
20ms
|
Script
text/javascript |
104.89.16.215
Akamai Technologies
|
|
General
- Full URL
- https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n127=0&n121=1&n116=0&n104=0&n15=3&n155=1&n133=1&n106=1&n153=0&n11=2&n120=3&n154=1&n125=0&n8=1&n2=2&n137=0&n101=0&n108=1&n54=0&n110=0&n87=0&n149=0&n76=1&n66=0&n60=1&n139=1&n160=0&n107=0&n21=1&n51=1&n117=4&n86=0&n147=3&n64=0&n119=1&n22=1&n18=1&n161=1&n126=1&n92=3&n77=0&n83=0&n102=1&n105=0&n159=1&n20=1&n80=0&n12=6&n141=0&n157=1&n99=1&n128=1&n118=1&n85=0&n9=3&n6=2&n63=0&n138=0&n140=0&n94=2&n111=1&n136=1&n79=1&n93=4&n90=1&n37=2&n55=1&n142=0&n7=1&n103=0&n158=1&n124=0&n75=1&n91=1&n114=1&n69=0&n10=3&n3=1&n82=0&n84=0&n5=3&n48=1&n109=0&n122=1&n67=2&n115=1&n89=1&n123=2&n17=1&n78=0&n44=1&n81=0&n88=0&n39=1&n156=1&n148=1
- Requested by
- Host: tracking.m6r.eu
URL: https://tracking.m6r.eu/sync/api?checkcookies=true
- Protocol
- HTTP/1.1
- Security
- TLS 1.3,
, AES_256_GCM
- Server
-
104.89.16.215
, Netherlands,
ASN16625
(AKAMAI-AS - Akamai Technologies, Inc., US),
- Reverse DNS
- a104-89-16-215.deploy.static.akamaitechnologies.com
- Software
-
nginx /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
GET
H2
|
200
|
/
d.agkn.com/iframe/8613/
Frame E4F8
|
0
0
|
26ms
8ms
|
Document
text/html |
2600:9000:21f3:7000:19:fc2c:a140:93a1
Amazon.com
|
|
General
- Full URL
- https://d.agkn.com/iframe/8613/?che=37974995&gdpr=1&gdpr_consent=&ref=&bpid=stroeer&c=%7B%22bpid%22%3A%22stroeer%22%2C%22loc%22%3A%22https%3A%2F%2Fwww.giga.de%2F%22%2C%22gdpr%22%3A%221%22%2C%22gdpr_consent%22%3A%22%22%2C%22ref%22%3A%22-1%22%2C%22cid%22%3A%22-1%22%2C%22sid%22%3A%22-1%22%2C%22gen%22%3A%22-1%22%2C%22age%22%3A%22-1%22%2C%22cat%22%3A%22-1%22%2C%22brd%22%3A%22-1%22%7D
- Requested by
- Host: js.agkn.com
URL: https://js.agkn.com/prod/v0/tag.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
2600:9000:21f3:7000:19:fc2c:a140:93a1
, United States,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- Software
-
Apache-Coyote/1.1 /
- Resource Hash
|
GET
H2
|
200
|
bootstrap.min.js
Show response
maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/
|
36 KB
10 KB
|
21ms
7ms
|
Script
text/javascript |
2001:4de0:ac19::1:b:1b
Highwinds Network...
|
|
|
GET
H/1.1
|
200
OK
|
adscaleSyncDone
tracking.m6r.eu/sync/
Redirect Chain
-
https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=8e42fa81c29be05c5f7ce632548bc697&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3D8e42fa81c29be05c5f7ce632548bc697%2...
-
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=8e42fa81c29be05c5f7ce632548bc697&userId=adscale-user:c57614d842424517b105806913900d75
|
44 B
528 B
|
26ms
26ms
|
Image
image/gif |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame FF04
|
0
0
|
17ms
17ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssQj_hY-muiEolaqAU6AZaWBLUnAxOyCKYMkRc3BnlJlILrBOdbOsgPcYoOyEkJfB1oJUCaG6XeadSU8D2Qrgtcth8VymUyPjdsMMVQads2cj84cb9YZhJ_aFUNl0XRkw2Ug-I8i58vZKcyfw-vAzMIB2LbI903FKBUBXRtS1ZrjUz-wG4uWhY-qEQpe3fZyJmWM4fRk0VzdmAgSRvA_GnHaSAOWOsHRa2OnePrxLOAp8gxR6ako3RlHbag3C56WxZ6v5rO1o5iJ6UFIinH&sig=Cg0ArKJSzEaQcLKio0_-EAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
[PROD]_BillboardExt.min.js
Show response
templates.stroeerdigital.de/
|
2 KB
1 KB
|
74ms
50ms
|
Script
application/javascript |
143.204.101.90
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
dvtp_src.js
Show response
cdn.doubleverify.com/
Frame FF04
|
18 KB
6 KB
|
96ms
30ms
|
Script
application/javascript |
23.209.84.82
Akamai Technologies
|
|
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame FF04
|
76 KB
29 KB
|
39ms
39ms
|
Script
text/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd.js
Show response
www.googletagservices.com/activeview/js/current/
|
78 KB
29 KB
|
38ms
38ms
|
Script
text/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 0e946b0ee0337cf23c845f67a238e1fefd5f1e014fdbd8ea27870172fcedd40f
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame A433
|
0
0
|
17ms
16ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvEXzUbPcASqBbCl6MaZ4tZMO4d62wOYmFV6C3WGZhIPkAXmMzdaRa6zP4Xw9Hc3ENHYFFGONV2ePM-b2iUu-4JL9f2jm0BLm1UYwqF3sj5B6BmNONNLDBZMV929mzDGLe3E8bs3f_edvfooQhZvSnEKpW6qCS48FkePMdUAyVFbMWJWQbi0I7o9SqpJKiqLlgwOzdiflz-Fg-3JBbRCX9MhiWmzRWa9qpFRxToUitiJL5PXmbrnJnEVy7gQ6fgP1uZj2MXYuCow15Kjk6D&sig=Cg0ArKJSzP2s3qVoCi84EAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame A433
|
76 KB
29 KB
|
39ms
39ms
|
Script
text/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H/1.1
|
200
OK
|
config.js
Show response
confiant-integrations.global.ssl.fastly.net/2DPge-WVhZFIVEVo0laRH9eF5JI/gpt_and_prebid/
|
50 KB
12 KB
|
20ms
5ms
|
Script
text/javascript |
151.101.13.194
Fastly
|
|
|
GET
H2
|
200
|
/
Show response
d.nativendo.de/cds/delivery/get/
|
10 KB
3 KB
|
37ms
37ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/
|
35 B
109 B
|
6ms
6ms
|
Image
image/gif |
2a00:1450:4001:81b::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/collect?v=1&_v=j79&aip=1&a=495612959&t=event&ni=1&_s=2&dl=https%3A%2F%2Fwww.giga.de%2F&ul=en-us&de=UTF-8&dt=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&sd=24-bit&sr=1600x1200&vp=1585x1200&je=0&ec=JWVideoPlayer&ea=PlayerAvailable&el=415710348%20--%20GIGA%20App-Tipp%3A%20Spiele-Apps%5Bvideojs%2F7.6.6%5D%5BUser%20Click2Play%5D&_u=6GBAAEAB~&jid=&gjid=&cid=2066417258.1575024778&tid=UA-204785-4&_gid=1763856413.1575024778&cd1=&cd5=2011-11-09T13%3A44%3A29%2B01%3A00&cg1=Startseite&cg2=484&cg3=04-2016&cd2=gruen&cd6=Startseite&cd8=website&cd3=&cd15=website&cd17=not%20logged%20in&cd24=default&cd37=&cd42=legacy&cd10=Variante%20%22flexible%20header%22&cd9=201908&cd11=415710348&cd12=SELF&cd13=493&cd14=false&cd19=User%20Click2Play&cd38=videojs%2F7.6.6&cd44=0&cm1=1&z=1494226972
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
200
|
index.html
cdn.stroeerdigitalmedia.de/Ads/2019_23162_001_Amazon770x250_2911/
Frame B6F4
|
0
0
|
28ms
8ms
|
Document
text/html |
2a02:26f0:eb:181::5f76
AKAMAI-ASN1
|
|
General
- Full URL
- https://cdn.stroeerdigitalmedia.de/Ads/2019_23162_001_Amazon770x250_2911/index.html?clickTag=https://adclick.g.doubleclick.net/pcs/click%253Fxai%253DAKAOjsvLa8WhW2IIrFMXVg3qkGw1wm3MzU-X_lUNC_kbmz6hwWRqEzAnLVUvye1QPsO3P5eHiGQ30KN8Vy1KyH2pJQD64MP_k7-_2rRSuqVkZf2AtZhCQErsbkPQKwyMkjNsKuEDaE61pRXFUBQnwcB4qQerHNfrGmZRWwDLC6EJxN3JyfqP0_5s8eJdu4EDYfZljIkPmuMaC88rBTKVNQSTkKHTqyUXa9fI-EX62w8D4AD2D42YxrV-IrDFgYYRHgVH3Ips8AoovRRu%2526sig%253DCg0ArKJSzBS0UrZjjtyjEAE%2526urlfix%253D1%2526adurl%253Dhttps://ad.doubleclick.net%2Fddm%2Ftrackclk%2FN1059923.2019304STRERDIGITALMEDI%2FB23498714.260328635%3Bdc_trk_aid%3D456389860%3Bdc_trk_cid%3D124647342%3Bdc_lat%3D%3Bdc_rdid%3D%3Btag_for_child_directed_treatment%3D%3Btfua%3D%0A
- Requested by
- Host: js.stroeermediabrands.de
URL: https://js.stroeermediabrands.de/metaTag.min.3bc363a8612dae93e42ce451ef9f7c76.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_ECDSA, AES_256_GCM
- Server
-
2a02:26f0:eb:181::5f76
, Ascension Island,
ASN20940
(AKAMAI-ASN1, US),
- Reverse DNS
- Software
-
Apache /
- Resource Hash
|
GET
H2
|
200
|
B23498714.260328635;dc_pre=CJrJscOgj-YCFdb3dwodQbcASQ;dc_trk_aid=456389860;dc_trk_cid=124647342;ord=1792470942;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=
ad.doubleclick.net/ddm/trackimp/N1059923.2019304STRERDIGITALMEDI/
Frame F9F5
Redirect Chain
-
https://ad.doubleclick.net/ddm/trackimp/N1059923.2019304STRERDIGITALMEDI/B23498714.260328635;dc_trk_aid=456389860;dc_trk_cid=124647342;ord=1792470942;dc_lat=;dc_rdid=;tag_for_child_directed_treatme...
-
https://ad.doubleclick.net/ddm/trackimp/N1059923.2019304STRERDIGITALMEDI/B23498714.260328635;dc_pre=CJrJscOgj-YCFdb3dwodQbcASQ;dc_trk_aid=456389860;dc_trk_cid=124647342;ord=1792470942;dc_lat=;dc_rd...
|
42 B
120 B
|
33ms
32ms
|
Image
image/gif |
216.58.205.230
Google LLC
|
|
General
- Full URL
- https://ad.doubleclick.net/ddm/trackimp/N1059923.2019304STRERDIGITALMEDI/B23498714.260328635;dc_pre=CJrJscOgj-YCFdb3dwodQbcASQ;dc_trk_aid=456389860;dc_trk_cid=124647342;ord=1792470942;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=?
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
216.58.205.230
Mountain View, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s24-in-f230.1e100.net
- Software
-
cafe /
- Resource Hash
- ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H/1.1
|
200
OK
|
dv-measurements297.js
Show response
cdn.doubleverify.com/
Frame 1B8E
|
271 KB
63 KB
|
87ms
30ms
|
Script
application/javascript |
23.209.84.82
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
wrap.js
Show response
confiant-integrations.global.ssl.fastly.net/prebid/201911261602/
|
30 KB
12 KB
|
17ms
6ms
|
Script
application/javascript |
151.101.13.194
Fastly
|
|
General
- Full URL
- https://confiant-integrations.global.ssl.fastly.net/prebid/201911261602/wrap.js
- Requested by
- Host: confiant-integrations.global.ssl.fastly.net
URL: https://confiant-integrations.global.ssl.fastly.net/2DPge-WVhZFIVEVo0laRH9eF5JI/gpt_and_prebid/config.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
151.101.13.194
Frankfurt am Main, Germany,
ASN54113
(FASTLY - Fastly, US),
- Reverse DNS
- Software
-
AmazonS3 /
- Resource Hash
- 8db624e21c35d3f1626601a61acb544d8dc307f820c325f945d4a2b60cb2c2eb
|
GET
H/1.1
|
200
OK
|
pixel
tracking.m6r.eu/consent/
|
44 B
209 B
|
41ms
40ms
|
Image
image/gif |
104.89.16.215
Akamai Technologies
|
|
|
GET
H2
|
200
|
0
Show response
d.nativendo.de/cds/delivery/render/558an9j4/2lla8/66cxs/96b5s/
|
5 KB
1 KB
|
15ms
15ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
0
Show response
d.nativendo.de/cds/delivery/render/558an9j4/2ll34/5rtog/935z4/
|
5 KB
1 KB
|
15ms
15ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame 7B8A
|
0
0
|
17ms
17ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvM24WOilXwUuOIh_dABfNvjWbz-FgSbVtq_gmIVAIDyrJfLqi1xauc2kANI-aBKgkRsZEJ0bZmpwQ9Jhwv42mPT8xUUATrM6m6yzqOGMPdLYlPp2PU-Dlz4iZpLJgvudTcISGSqHc35FsqhE3ZnJgnabdv0g_RiLE2sHfKHtAqG79I7A736AzrbUWDeJ4NtvLEnM7gZdC9GE58IsmGlINoNFzbn8DmYthglUd67llUi3kDr9KszfOwEetPz-3EmkxbAzHtfhBScOyXwVB4&sig=Cg0ArKJSzLd-RXR0tXIbEAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame 7B8A
|
76 KB
29 KB
|
40ms
40ms
|
Script
text/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111801.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
defaultImage.gif
cdn.stroeerdigitalmedia.de/Ads/
Frame B9AF
Redirect Chain
-
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstBM4ALbLgmbWfcNVMpoYN3P2JT7PcOiBXrJ2rMBKTK2FhVLp8wez-CBjLyfB6incZHfgls9Tfh3g4LvcGPZCIv1uV4v0DmF09BLVUvL2N-phl-4klNdCJXrB2fMF1nlZ7mXCEcmCfBO...
-
https://cdn.stroeerdigitalmedia.de/Ads/defaultImage.gif
|
49 B
344 B
|
7ms
7ms
|
Image
image/gif |
2a02:26f0:eb:181::5f76
AKAMAI-ASN1
|
|
|
GET
H2
|
200
|
6d4aaff6-4d01-440a-94a7-0d2e09e6bb3e.jpg
c.nativendo.de/cdn/asset/media/crt/55102/2/5/
|
14 KB
14 KB
|
19ms
18ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
10e96587-2df0-4b4e-b9f6-151369baa657.jpg
c.nativendo.de/cdn/asset/media/crt/54547/2/5/
|
15 KB
15 KB
|
17ms
17ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
fe390c54-c351-48e4-be3a-661ff5ffc942
Show response
t.nativendo.de/cds/tracking/event/
|
0
172 B
|
29ms
14ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
fe390c54-c351-48e4-be3a-661ff5ffc942
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
42ms
27ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
t2tv7.html
cdn3.doubleverify.com/
Frame E0F1
|
0
0
|
92ms
29ms
|
Document
text/html |
23.209.84.82
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
visit.js
Show response
tps.doubleverify.com/
Frame 1B8E
|
4 KB
2 KB
|
42ms
21ms
|
Script
text/javascript |
213.254.244.18
DoubleVerify
|
|
General
- Full URL
- https://tps.doubleverify.com/visit.js?bridua=3&tstype=2&eparams=DC4FC%3Dl9EEADTbpTauTauHHH%5D8%3A82%5D56TauU2%3F4r92%3A%3Fl9EEADTbpTauTauHHH%5D8%3A82%5D56Tar9EEADTbpTauTauHHH%5D8%3A82%5D56U2%26C%3Dl&srcurlD=0&aUrlD=0&ssl=https:&aadid=dc8284887766de036d53c81083a36706778d6633&dfs=3&ddur=96&uid=1575024778434994&jsCallback=dvCallback_1575024778434217&dvtagver=6.1.src&navUa=Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_14_5)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F74.0.3729.169%20Safari%2F537.36&htmlmsging=1&chro=0&hist=2&winh=1200&winw=1600&wouh=1200&wouw=1600&scah=1200&scaw=1600&jsver=297&vavbkt=4,8,1,23&lvvn=26&m1=13&refD=1&referrer=https%3A%2F%2Fwww.giga.de%2F&fwc=0&fcl=623&flt=0&fec=1307&fcifrms=10&brh=2&dvp_epl=134&noc=16&ctx=13817131&cmp=23498714&sid=5504146&plc=260328635&adsrv=1&dvp_tuid=1463095724576
- Requested by
- Host: cdn.doubleverify.com
URL: https://cdn.doubleverify.com/dv-measurements297.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
213.254.244.18
, Ireland,
ASN36062
(DOUBLE-VERIFY - DoubleVerify, Inc., US),
- Reverse DNS
- Software
-
Microsoft-IIS/8.5 /
ASP.NET
- Resource Hash
- de27e88a210352f52e35cecc1521b83b2d5b9a59a17ca1e9973d6faff87b09e9
|
GET
H/1.1
|
200
OK
|
data
lb21.s400.meetrics.net/
|
43 B
308 B
|
3ms
0ms
|
Image
image/gif |
136.243.4.81
HETZNER-AS
|
|
General
- Full URL
- https://lb21.s400.meetrics.net/data?/d+HTDDIAAKktFLkqFFlqwF23A52AwwA/k0FHEmvFytFh0FjvFklF94Et1EurFuvF3uFtxA4xBmhEk2F9yA42A35A13A1mAjwFpkF9kElzFr0FvwFmhEwhF90A04AyzA44Ay5AymAjpFk9BxzA4yAx2Ay0A1zA3yAmzEp6Fl9Bx4ExmAzpF0lF9nEpnFhuBklFfzFkmBwsFhjFl9BovFtlFmhEwiF9vE10FfvFmfFwhFnlFmhEwjF90A04AyzA44Ay5AymAhwFk9B00A4yAz4A4yA5yAmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEv1F0fFvmFfwFhnFlmBhkFj9BkpFylFj0FmtEtvFklF9kElmFh1Fs0FmjEi9Bx1A31AwyA03A34Az1AzBELlnFBUkzFnBP9EAAAAAAABjAEAPBAAFAAjAETA5iAPAAAAAAk3BBA5iAZAAAOA55A55A85B55A58E55A55AFAx2A0xA5BErA5iAPCAAAAAk3BHA5iASksFSFjAAAAAAAAAAAAEAAAjAEAAAAAAAHAklFzrF0vFwBFEAovFtlFKAnpFnhFukElfFzkFDAx4ExBEMAxzA4yAx2Ay0A1zA3yAGAkpFylFj0FAAAAIAy4A23A51A31AKA00A4yAz4A4yA5yALAv1F0fFvmFfwFhnFlBFKA00A4yAz4A4yA5yAKA00A4yAz4A4yA5yA0AlyAG0B00A0lAyGEnpFnhFukElfFzkFlyAGoFvtFlfFz0FhyF0zFlpF0lFlyAGvF10FfvFmfFwhFnlFdAAAk3BxYAAAAFAAAA5iAAAAANA4tB1uFruFv3FutBx4ExBEAAAAAAAAAAAAAAAAQtjFUOVGUA
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.81
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h229.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb21.s400.meetrics.net/
|
43 B
308 B
|
3ms
1ms
|
Image
image/gif |
136.243.4.81
HETZNER-AS
|
|
General
- Full URL
- https://lb21.s400.meetrics.net/data?/d+HTEEIAA/k0FEImvFytFh0FjvFklF94Et1EurFuvF3uFtxA4xBmhEk2F9yA42A35A13A1mAjwFpkF9kElzFr0FvwFmhEwhF90A04AyzA44Ay5AymAjpFk9BxzA4yAx2Ay0A1zA3yAmzEp6Fl9Bx4ExmAzpF0lF9nEpnFhuBklFfzFkmBwsFhjFl9BovFtlFmhEwiF9vE10FfvFmfFwhFnlFmhEwjF90A04AyzA44Ay5AymAhwFk9B00A4yAz4A4yA5yAmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEv1F0fFvmFfwFhnFlmBhkFj9BkpFylFj0FmtEtvFklF9kElmFh1Fs0FmjEi9Bx1A31AwyA03A34Az1AzmEvyFthF0jFvkFl9BCpFssFivFhyFkmBhkF29By4AywAy2A51AmjEwpFk9BklFzrF0vFwmBhwFh9B1yAzxA53A0yA04AmjEpkF9xAz4Ay5A12AxyAwxAxmAzpF6lF93A3wA4yB1wAmzEp0Fl9BnpFnhFukElfFzkFmwEshFjlF9oEvtFlmBhwFi9BihFuuFlyFmhEwjF91AyzAx5A30Ay0A4mAhwFk9B1yAzxA53A0yA04AmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEihFuuFlyFmhEkjF9kEpyFljF0mBttFvkFl9BklFmhF1sF0mBjiF9xA13A1wAy0A33A41A1yALlnFCTkzFePDDAAAAAAAB121APAAAFAA121Tl35ASksFJEjAAAAAAAAAAAAEAAA121AAAAAAAHAklFzrF0vFwBFEAovFtlFKAnpFnhFukElfFzkFHA33Aw4Ey1AwBEMAxzA4yA51A2xAywAxxAGAkpFylFj0FAAAAIAy4AywAy2A51AKA1yAzxA53A0yA04AGAihFuuFlyFKA1yAzxA53A0yA04AKA1yAzxA53A0yA04AvAlyAG0B00A0lAyGEnpFnhFukElfFzkFlyAGoFvtFlfFz0FhyF0zFlpF0lFlyAGiFhuFulFyBFQtjFmA2NVA
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.81
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h229.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H2
|
200
|
/
Show response
track.adform.net/Serving/Cookie/
|
73 B
448 B
|
26ms
24ms
|
Script
text/javascript |
37.157.4.39
ADFORM
|
|
|
GET
H2
|
200
|
f9b17833-d68c-4e4d-b319-d6061d45aa9f
Show response
boot.pubstack.io/v1/tag/
|
1 KB
826 B
|
101ms
32ms
|
Script
application/javascript |
52.19.202.254
Amazon.com
|
|
|
GET
H2
|
200
|
/
cx.atdmt.com/
Redirect Chain
-
https://www.facebook.com/tr?id=1773162896260346&ev=ViewContent
-
https://cx.atdmt.com/?c=9774098073060771722&f=AYw-Sx_Ksl6HYWGB07KNklA1NuXTMFxc4H4uKvGXu_za_aVWrTTvmFzDLIEu8X7eFqgFhC1aYeSiWXXR8UXxpb-d&id=1773162896260346&l=3&v=0
|
42 B
405 B
|
51ms
39ms
|
Image
image/gif |
2a03:2880:f01c:8004:face:b00c:0:8c
Facebook
|
|
|
GET
H/1.1
|
200
OK
|
map.js
Show response
js.adscale.de/
|
21 KB
6 KB
|
96ms
30ms
|
Script
text/javascript |
95.100.146.26
Akamai Technologies
|
|
|
GET
H2
|
200
|
adex.js
Show response
dmp.theadex.com/d/285/5184/s/
|
39 KB
14 KB
|
52ms
11ms
|
Script
application/javascript |
89.163.159.99
MYLOC-AS
|
|
|
GET
H/1.1
|
200
OK
|
ibb_map.js
Show response
bbcdn-bbnaut.ibillboard.com/library/
|
1 KB
1014 B
|
104ms
28ms
|
Script
application/javascript |
62.168.44.118
GTSCE GTS Central...
|
|
|
GET
H2
|
200
|
default.js
Show response
ups.xplosion.de/loader/69511/
|
2 KB
2 KB
|
89ms
29ms
|
Script
text/javascript |
34.252.231.90
Amazon.com
|
|
|
GET
H2
|
200
|
learn
de-gmtdmp.mookie1.com/t/v2/
|
43 B
494 B
|
48ms
16ms
|
Image
image/gif |
35.186.238.175
Google LLC
|
|
|
GET
H2
|
200
|
monitoring.js
Show response
cdn.prod.pubstack.io/
|
61 KB
19 KB
|
19ms
6ms
|
XHR
application/javascript |
34.95.76.218
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
map
ih.adscale.de/
Frame 9CC4
|
0
0
|
147ms
88ms
|
Document
text/html |
95.100.146.26
Akamai Technologies
|
|
|
GET
H2
|
200
|
segments
Show response
api.theadex.com/v0.9/pub/
|
56 B
126 B
|
44ms
12ms
|
Script
text/plain |
89.163.159.125
MYLOC-AS
|
|
General
- Full URL
- https://api.theadex.com/v0.9/pub/segments?access_token=y5fWjpPcqPTEF7fuHtSSUIh1UnD1w2hVEt2Y2PjI&callback=window.ibb_lib.ibb_store
- Requested by
- Host: bbcdn-bbnaut.ibillboard.com
URL: https://bbcdn-bbnaut.ibillboard.com/library/ibb_map.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
89.163.159.125
Cloppenburg, Germany,
ASN24961
(MYLOC-AS, DE),
- Reverse DNS
- Software
-
/
- Resource Hash
- 893fa7339c102fb976d4065531644d8a8ac565fc84818a77600ad3ed5a72a26b
|
GET
H2
|
200
|
p.min.js
Show response
cdn.emetriq.de/adp/profiling/0.2.18/
|
5 KB
2 KB
|
23ms
7ms
|
Script
application/javascript |
2600:9000:2156:5400:1c:8c89:a300:93a1
Amazon.com
|
|
|
GET
H2
|
200
|
fe390c54-c351-48e4-be3a-661ff5ffc942
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
15ms
15ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
fe390c54-c351-48e4-be3a-661ff5ffc942
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
16ms
15ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
data
Show response
ups.xplosion.de/
|
4 KB
3 KB
|
33ms
33ms
|
Script
text/javascript |
34.252.231.90
Amazon.com
|
|
General
- Full URL
- https://ups.xplosion.de/data?title=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&hostSiteUrl=https%3A%2F%2Fwww.giga.de%2F&userAgent=5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_14_5)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F74.0.3729.169%20Safari%2F537.36&userLang=en-US&color=24&os=Linux%20x86_64&timezone=-1&screen=1200x1600&mbr=8e42fa81c29be05c5f7ce632548bc697&event_id=page_view&_sid=69511&_ver=0.2.18&_seg=jsonp&_=138772419893
- Requested by
- Host: cdn.emetriq.de
URL: https://cdn.emetriq.de/adp/profiling/0.2.18/p.min.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
34.252.231.90
Dublin, Ireland,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- ec2-34-252-231-90.eu-west-1.compute.amazonaws.com
- Software
-
/
- Resource Hash
- a1ad3328e8716939b8757c810bf2f37f2240058fc934ef266472d2fc1968742e
|
GET
H2
|
200
|
launcher.js
Show response
sak.userreport.com/sdm/
|
63 KB
20 KB
|
53ms
7ms
|
Script
application/javascript |
13.224.196.116
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
adrtxtag.min.js
Show response
cdn.adrtx.net/
|
840 B
848 B
|
111ms
28ms
|
Script
application/javascript |
63.34.92.224
Amazon.com
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
Frame C9F1
Redirect Chain
-
https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSaFWSfkWiRFEiRsESUkWsfABifABSfABSfABifABifABfrr&cb=https%3A%2F%2Fuss.xplosion.de%2Fusersync%3Fsid%3D65966%26fpid%3D%7B%7BUUID%7D%7D
-
https://uss.xplosion.de/usersync?sid=65966&fpid=4210918948358867557
|
42 B
661 B
|
30ms
29ms
|
Image
image/gif |
34.252.231.90
Amazon.com
|
|
|
GET
H2
|
200
|
fetch_frame_2019111801.html
ff.doubleclick.net/tag/js/
Frame A0F9
|
0
0
|
26ms
6ms
|
Document
text/html |
2a00:1450:4001:80b::2006
Google LLC
|
|
General
- Full URL
- https://ff.doubleclick.net/tag/js/fetch_frame_2019111801.html
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/tag/js/gpt.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:80b::2006
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H/1.1
|
200
OK
|
activation
adstax-match.adrtx.net/
Frame EB2C
|
0
0
|
129ms
34ms
|
Document
text/html |
108.128.71.27
Amazon.com
|
|
|
GET
H2
|
200
|
5231974248
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
56ms
6ms
|
XHR
application/json |
52.57.208.4
Amazon.com
|
|
|
GET
BLOB
|
200
OK
|
d67dc33d-8b9d-4887-a4b4-535035ed9b74
https://videos.giga.de/
Frame A013
|
31 B
0
|
|
Other
application/javascript |
|
|
|
GET
H2
|
200
|
800e09cb4371013cf06be8ebc1_ciA5NTADOTE4ZWMzMGM2OGM=.jpg
files.giga-video.de/96/b1/b4/
Frame A013
|
65 KB
65 KB
|
40ms
12ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://files.giga-video.de/96/b1/b4/800e09cb4371013cf06be8ebc1_ciA5NTADOTE4ZWMzMGM2OGM=.jpg
- Requested by
- Host: videos.giga.de
URL: https://videos.giga.de/dist/js/embed/bundle/videojs-c972511a.min.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- a9cc3aa5da89c156ec96838148a04d96c95e9345ba63cad4022b71a435f34348
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H/1.1
|
200
OK
|
global_config.json
Show response
s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/
Frame A013
|
53 B
703 B
|
32ms
11ms
|
XHR
application/json |
52.219.72.199
Amazon.com
|
|
|
GET
H2
|
200
|
giga-ssl.json
Show response
videos.giga.de/homad/
Frame A013
|
265 B
436 B
|
6ms
6ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
|
42 B
661 B
|
29ms
29ms
|
Image
image/gif |
34.252.231.90
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
config.json
Show response
hgc-cf-cache-1.svonm.com/www.giga.de/
Frame A013
|
724 B
1 KB
|
24ms
7ms
|
XHR
application/json |
143.204.101.52
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
hd-main.js
Show response
hgc-cf-cache-1.svonm.com/
Frame A013
|
196 KB
196 KB
|
6ms
6ms
|
XHR
application/javascript |
143.204.101.52
Amazon.com
|
|
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame A013
|
196 KB
0
|
|
Script
text/javascript |
|
|
|
GET
H2
|
200
|
5231974257
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
14ms
14ms
|
XHR
application/json |
52.57.208.4
Amazon.com
|
|
|
POST
H/1.1
|
200
OK
|
event.png
tps20233.doubleverify.com/
Frame 1B8E
|
67 B
487 B
|
28ms
8ms
|
Other
image/png |
213.254.244.18
DoubleVerify
|
|
General
- Full URL
- https://tps20233.doubleverify.com/event.png?impid=c37fea68f1a94e7cb90b8399a4081cb3&dvp_ealslr=1&vdur=43&eoid=6&msrjs=297&pltfrm=Linux%20x86_64&isvelg=1&vit=2&engms=1&engisel=1&dvp_esdtms=2088&cbust=1575024780498819
- Requested by
- Host: cdn.doubleverify.com
URL: https://cdn.doubleverify.com/dv-measurements297.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
213.254.244.18
, Ireland,
ASN36062
(DOUBLE-VERIFY - DoubleVerify, Inc., US),
- Reverse DNS
- Software
-
Microsoft-IIS/8.0 /
ASP.NET
- Resource Hash
- ebf4f635a17d10d6eb46ba680b70142419aa3220f228001a036d311a22ee9d2a
|
GET
H2
|
200
|
4863977886
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
206 B
|
7ms
6ms
|
XHR
application/json |
52.57.208.4
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
global_config.json
Show response
s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/
Frame A013
|
53 B
703 B
|
29ms
10ms
|
XHR
application/json |
52.219.72.199
Amazon.com
|
|
General
- Full URL
- https://s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/global_config.json?cache=5086241278
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb3c9b29QaGllbWFBaHphaEtvd3x8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3Rhc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M9CnRoaXMubWZbZF0sYT1hLnJlcGxhY2UoYy5tYWNybyxjLnBsYWNlaG9sZGVyKTtyZXR1cm4gYX19fSkoYyk7dmFyIGVhPWMueml8fGVhLFE9ITEsbGE9ITE7Yz1jfHx7fTsoZnVuY3Rpb24oYyl7ZnVuY3Rpb24gYSgpe31jLktqPWE7YS5wcm90b3R5cGU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, CHACHA20_POLY1305
- Server
-
52.219.72.199
Frankfurt am Main, Germany,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- s3.eu-central-1.amazonaws.com
- Software
-
AmazonS3 /
- Resource Hash
- f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a
|
GET
H2
|
200
|
giga-ssl.json
Show response
videos.giga.de/homad/
Frame A013
|
265 B
436 B
|
7ms
6ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
General
- Full URL
- https://videos.giga.de/homad/giga-ssl.json?cache=7705477623
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb3c9b29QaGllbWFBaHphaEtvd3x8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQo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KXt0aGlzLkpoPWE7Zm9yKGE9MDthPHRoaXMuRWQubGVuZ3RoO2ErKyl0aGlzLkVkW2FdWyJmdW5jdGlvbiJdKHRoaXMuY24uYmluZCh0aGlzKSl9LGNuOmZ1bmN0aW9uKGEpe3RoaXMuRmQtLTthJiZ0aGlzLm1mLnB1c2goYSk7MD49dGhpcy5GZCYmdGhpcy5KaCgpfSxGbTpmdW5jdGlvbihhKXtmb3IodmFyIGM9IiIsZD0wO2Q8dGhpcy5tZi5sZW5ndGg7ZCsrKWM9CnRoaXMubWZbZF0sYT1hLnJlcGxhY2UoYy5tYWNybyxjLnBsYWNlaG9sZGVyKTtyZXR1cm4gYX19fSkoYyk7dmFyIGVhPWMueml8fGVhLFE9ITEsbGE9ITE7Yz1jfHx7fTsoZnVuY3Rpb24oYyl7ZnVuY3Rpb24gYSgpe31jLktqPWE7YS5wcm90b3R5cGU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
109.71.25.30
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.14.1 /
- Resource Hash
- cddc04822e3d360c8d4ce7041294700199c5c9e3395ae7c21a311a112ae0526f
|
GET
H/1.1
|
200
OK
|
config.json
Show response
hgc-cf-cache-1.svonm.com/www.giga.de/
Frame A013
|
724 B
1 KB
|
36ms
23ms
|
XHR
application/json |
143.204.101.52
Amazon.com
|
|
General
- Full URL
- https://hgc-cf-cache-1.svonm.com/www.giga.de/config.json?cache=1561090584
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb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OmZ1bmN0aW9uKGUpe3RoaXMuYnAoYSxiLGMsZyxlKX0uYmluZChlKX0pfSkuY2FsbCh0aGlzLGFbY10udXJsLGFbY10ucGxhY2Vob2xkZXIsYVtjXS5hbGlhcyxhW2NdLm1hY3JvKX10aGlzLkZkPXRoaXMuRWQubGVuZ3RofSwkbDpmdW5jdGlvbigpe3ZhciBhPSExOzA8dGhpcy5GZCYmKGE9ITApO3JldHVybiBhfSx4bjpmdW5jdGlvbihhKXt0aGlzLkpoPWE7Zm9yKGE9MDthPHRoaXMuRWQubGVuZ3RoO2ErKyl0aGlzLkVkW2FdWyJmdW5jdGlvbiJdKHRoaXMuY24uYmluZCh0aGlzKSl9LGNuOmZ1bmN0aW9uKGEpe3RoaXMuRmQtLTthJiZ0aGlzLm1mLnB1c2goYSk7MD49dGhpcy5GZCYmdGhpcy5KaCgpfSxGbTpmdW5jdGlvbihhKXtmb3IodmFyIGM9IiIsZD0wO2Q8dGhpcy5tZi5sZW5ndGg7ZCsrKWM9CnRoaXMubWZbZF0sYT1hLnJlcGxhY2UoYy5tYWNybyxjLnBsYWNlaG9sZGVyKTtyZXR1cm4gYX19fSkoYyk7dmFyIGVhPWMueml8fGVhLFE9ITEsbGE9ITE7Yz1jfHx7fTsoZnVuY3Rpb24oYyl7ZnVuY3Rpb24gYSgpe31jLktqPWE7YS5wcm90b3R5cGU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
143.204.101.52
Seattle, United States,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- server-143-204-101-52.fra50.r.cloudfront.net
- Software
-
AmazonS3 /
- Resource Hash
- b1ae253cba132ab2566227a6f5a59ea9a90cdffef6f6bf06c55a222ed3afef53
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.3.damoh.giga.de/2adf025d17317ed94f2d7aec53ae76dd2e85ac9a/
Frame A013
|
724 B
2 KB
|
89ms
46ms
|
XHR
application/json |
46.4.69.14
HETZNER-AS
|
|
General
- Full URL
- https://ssl.3.damoh.giga.de/2adf025d17317ed94f2d7aec53ae76dd2e85ac9a/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb3c9b29QaGllbWFBaHphaEtvd3x8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJ0b3VjaGVuZCIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNobW92ZSIseik7YmE9ITA7Zm9yKHZhciBjPTA7YzxCLmxlbmd0aDtjKyspQltjXS5sb2FkKCk7CmZvcihjPTA7YzxCLmx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GU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
46.4.69.14
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.14.69.4.46.clients.your-server.de
- Software
-
AmazonS3 /
- Resource Hash
- b1ae253cba132ab2566227a6f5a59ea9a90cdffef6f6bf06c55a222ed3afef53
|
GET
H/1.1
|
200
OK
|
hic_qos
Show response
ssl.1.damoh.giga.de/
Frame A013
|
24 B
409 B
|
45ms
1ms
|
XHR
application/octet-stream |
148.251.47.137
HETZNER-AS
|
|
General
- Full URL
- https://ssl.1.damoh.giga.de/hic_qos?ads&adserv=1&_werbebanner_&simple_ad_
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb3c9b29QaGllbWFBaHphaEtvd3x8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd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Ghpcy5GZCYmdGhpcy5KaCgpfSxGbTpmdW5jdGlvbihhKXtmb3IodmFyIGM9IiIsZD0wO2Q8dGhpcy5tZi5sZW5ndGg7ZCsrKWM9CnRoaXMubWZbZF0sYT1hLnJlcGxhY2UoYy5tYWNybyxjLnBsYWNlaG9sZGVyKTtyZXR1cm4gYX19fSkoYyk7dmFyIGVhPWMueml8fGVhLFE9ITEsbGE9ITE7Yz1jfHx7fTsoZnVuY3Rpb24oYyl7ZnVuY3Rpb24gYSgpe31jLktqPWE7YS5wcm90b3R5cGU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
148.251.47.137
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.137.47.251.148.clients.your-server.de
- Software
-
openresty/1.15.8.2 /
- Resource Hash
- ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame B651
|
241 B
0
|
|
Script
text/javascript |
|
|
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.3.damoh.giga.de/41cfb859ef695a207677563a911627db94cf002b/
Frame A013
|
109 B
671 B
|
18ms
4ms
|
XHR
application/json |
46.4.69.14
HETZNER-AS
|
|
General
- Full URL
- https://ssl.3.damoh.giga.de/41cfb859ef695a207677563a911627db94cf002b/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIG9vUGhpZW1hQWh6YWhLb3c9b29QaGllbWFBaHphaEtvd3x8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhY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kuY2FsbCh0aGlzLGFbY10udXJsLGFbY10ucGxhY2Vob2xkZXIsYVtjXS5hbGlhcyxhW2NdLm1hY3JvKX10aGlzLkZkPXRoaXMuRWQubGVuZ3RofSwkbDpmdW5jdGlvbigpe3ZhciBhPSExOzA8dGhpcy5GZCYmKGE9ITApO3JldHVybiBhfSx4bjpmdW5jdGlvbihhKXt0aGlzLkpoPWE7Zm9yKGE9MDthPHRoaXMuRWQubGVuZ3RoO2ErKyl0aGlzLkVkW2FdWyJmdW5jdGlvbiJdKHRoaXMuY24uYmluZCh0aGlzKSl9LGNuOmZ1bmN0aW9uKGEpe3RoaXMuRmQtLTthJiZ0aGlzLm1mLnB1c2goYSk7MD49dGhpcy5GZCYmdGhpcy5KaCgpfSxGbTpmdW5jdGlvbihhKXtmb3IodmFyIGM9IiIsZD0wO2Q8dGhpcy5tZi5sZW5ndGg7ZCsrKWM9CnRoaXMubWZbZF0sYT1hLnJlcGxhY2UoYy5tYWNybyxjLnBsYWNlaG9sZGVyKTtyZXR1cm4gYX19fSkoYyk7dmFyIGVhPWMueml8fGVhLFE9ITEsbGE9ITE7Yz1jfHx7fTsoZnVuY3Rpb24oYyl7ZnVuY3Rpb24gYSgpe31jLktqPWE7YS5wcm90b3R5cGU9e319KShjKTt2YXIgb2M9Yy5Lanx8b2M7bmV3IG9jKDEsbmV3IERhdGUsMixNYXRoLnJhbmRvbSgpLCJ0cnVlIixuYXZpZ2F0b3IsImwta2V5IiwhMSxNYXRoLmFicygtMSksInRmIiwiWihUVERaVFJSIil9KS5jYWxsKG9vUGhpZW1hQWh6YWhLb3csb29QaGllbWFBaHphaEtvdyk7Cg==
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
46.4.69.14
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.14.69.4.46.clients.your-server.de
- Software
-
TornadoServer/5.0 /
- Resource Hash
- 9725b267c37b60d3a97a87216aa18ef1d1922138faa4f548e506fccfe5517f61
|
POST
H/1.1
|
200
OK
|
event.png
tps20233.doubleverify.com/
Frame 1B8E
|
67 B
487 B
|
7ms
7ms
|
Other
image/png |
213.254.244.18
DoubleVerify
|
|
General
- Full URL
- https://tps20233.doubleverify.com/event.png?impid=c37fea68f1a94e7cb90b8399a4081cb3&msrcanlm=264&msrcannum=2&eoid=10&ismms=51&isumms=51&isvelg=1&nvr=2&isbxdms=2151&b0=2230&engisel=1&dvp_vsosnmr=3&dvp_mvpw=device-width&lftb=2230&sftb=2230&naral=256&vct=1&vphgt=1200&vpwdth=1600&scrhgt=1200&scrwdth=1600&strp=0&advisonl=false&engalms=51&dvp_hdnAd=11013&dvp_dpr=1&dvp_itg=HEAD:1,SCRIPT:10,BODY:1,IFRAME:2,DIV:3,&dvp_ltspl=854&dvp_esdtms=3088&cbust=1575024781497242
- Requested by
- Host: cdn.doubleverify.com
URL: https://cdn.doubleverify.com/dv-measurements297.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
213.254.244.18
, Ireland,
ASN36062
(DOUBLE-VERIFY - DoubleVerify, Inc., US),
- Reverse DNS
- Software
-
Microsoft-IIS/8.5 /
ASP.NET
- Resource Hash
- ebf4f635a17d10d6eb46ba680b70142419aa3220f228001a036d311a22ee9d2a
|
GET
H/1.1
|
200
OK
|
data
lb21.s400.meetrics.net/
|
43 B
308 B
|
3ms
1ms
|
Image
image/gif |
136.243.4.81
HETZNER-AS
|
|
General
- Full URL
- https://lb21.s400.meetrics.net/data?/d+HTFJOBALl1FDLkqFKtkyB23A52AwwA6wEylF0pFtlF2qoFx1A31AwyA03A33A0yA3wE4qEooFooF5yE5BEUkzFYBPBAAYGAFCABl35AZAAAOA55A55A85B55A58E55A55AGAyyAw1A53Arl35APgAAAZAwSAcAAAAPIBAYGAFCAHl35ASksFsRdYGAFCACMA6DAFAAAl35AAALLo0F0wFz6BvvAjkFuuBz0FyvFllFykFpnFp0FhsFtlFkpFhu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- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.81
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h229.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
25ms
13ms
|
Image
image/gif |
178.19.72.20
HGCOMP-ASN
|
|
|