blob: 60d9840a0f40a9e3fad2fb15c31358f88dfd6782 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf8">
<script>
onmessage = event => {
switch (event.data.type) {
case "window-open":
window.open(event.data.url);
break;
case "script":
window.location.href = event.data.url;
break
}
};
</script>
</head>
<body>
</body>
</html>
|