We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f9289 commit 104194eCopy full SHA for 104194e
redirect.html
@@ -97,6 +97,18 @@
97
<img class="logo" src="/icons/iphone-app-180.png" width="80" draggable="false" alt="Codeit">
98
<p class="title">Open mrdoob/threejs with Codeit</p>
99
<div class="button">Open</div>
100
+
101
+ <script>
102
103
+ const title = document.querySelector('.title');
104
+ const button = document.querySelector('.button');
105
106
+ const url = new URL(window.location.href).searchParams;
107
108
+ title.innerText = url.get('text');
109
+ button.onclick = 'window.open('+ url.get('to') +', "_blank")';
110
111
+ </script>
112
</body>
113
114
</html>
0 commit comments