blob: 0dd26ecc2b16841c6368a0dfa455d43048daa45c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE HTML>
<html>
<head>
<title>Utility page which embeds a reporting page on the chosen host</title>
</head>
<body>
<script>
const searchParams = new URLSearchParams(window.location.search);
const host = searchParams.get('host') || "{{hosts[][]}}";
const frame = document.createElement('iframe');
frame.src=`https://${host}:{{ports[https][0]}}/reporting/resources/same-origin-report.https.sub.html`;
document.body.appendChild(frame);
</script>
</body>
</html>
|