mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
15 lines
430 B
HTML
15 lines
430 B
HTML
<body onload="postBack();">
|
|
<script>
|
|
function postBack() {
|
|
var s = decodeURIComponent(window.location.search.substring(1));
|
|
var cmd = JSON.parse(s);
|
|
if ("load" in cmd) {
|
|
window.testNum = cmd.load;
|
|
} else if ("write" in cmd) {
|
|
window.testNum = cmd.write;
|
|
}
|
|
window.opener.postMessage(s, "http://mochi.test:8888");
|
|
}
|
|
var childWin = window.open();
|
|
</script>
|
|
</body>
|