Tone3000 dialog (waiting for iframe fix)

This commit is contained in:
Robin E. R. Davies
2026-01-23 21:47:31 -05:00
parent f26e3bf102
commit f0c3995a8f
4 changed files with 275 additions and 261 deletions
+26
View File
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tone3000 Download Received</title>
</head>
<body>
<script>
// Parse URL parameters
const urlParams = new URLSearchParams(window.location.search);
const toneUrl = urlParams.get('tone_url');
// Send the data back to the opener window
if (window.opener) {
window.opener.postMessage({
type: 'tone3000Download',
toneUrl: toneUrl
}, '*');
}
// Close the window after sending the data
window.close();
</script>
</body>
</html>