blob: c27d4eaa3bed94fca939e7e421b7bef108f88f36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<html><body>
Popup 2
<script type="application/javascript">
var bc = new BroadcastChannel("bug646641_2");
window.onload = () => {
bc.postMessage({ message: "childLoad", num: 2 })
requestAnimationFrame(() => bc.postMessage({message: "childPageshow", num: 2}));
}
bc.onmessage = (msgEvent) => {
var msg = msgEvent.data;
if (msg == "go-2") {
history.go(-2);
bc.close();
}
}
</script>
</body></html>
|