UNPKG

2.4 kBHTMLView Raw
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta charset="utf-8" />
5 <title>NHN SDK Demo</title>
6 <link rel="stylesheet" href="/style.css" />
7 </head>
8 <body>
9 <div class="page-launcher">
10 <div class="test-area">
11 <h1>NHN SDK Demo :: Proctor 실행</h1>
12 <div class="form">
13 <input type="text" id="launch_uri" />
14 <button type="button" id="nhn_proctor_launch_button">NHN Proctor 실행 버튼</button>
15 </div>
16 </div>
17 <div class="download">
18 <table>
19 <caption>다운로드</caption>
20 <thead>
21 <tr>
22 <th scope="col">OS</th>
23 <th scope="col">Link</th>
24 </tr>
25 </thead>
26 <tbody>
27 <tr>
28 <td>Windows</th>
29 <td><a href="https://rlglgleej.toastcdn.net/Windows/NHNProctor-1.0.2-x64.cab" target="_blank">다운로드</a></th>
30 </tr>
31 <tr>
32 <td>Mac</th>
33 <td><a href="https://rlglgleej.toastcdn.net/macOS/NHNProctor-1.0.0.14.dmg" target="_blank">다운로드</a></th>
34 </tr>
35 </tbody>
36 </table>
37 </div>
38 <div class="helper">
39 <h2>Cheating Detection API 가이드 링크</h2>
40 <ul>
41 <li>SDK에서 제공되는 기능은 아래 API를 내부적으로 사용하고 있습니다.</li>
42 <li><a href="https://docs.toast.com/ko/Application%20Service/Cheating%20Detection/ko/api-guide/" target="_blank">https://docs.toast.com/ko/Application%20Service/Cheating%20Detection/ko/api-guide/
43 </a></li>
44 </ul>
45 <h2>도움말</h2>
46 <ul>
47 <li>SDK에서 제공되는 Launcher 를 이용하여 구현된 페이지입니다.</li>
48 <li>Launcher 를 이용해 Proctor 를 실행합니다.</li>
49 </ul>
50 </div>
51 </div>
52 </body>
53 <script src="/nhn-cd-sdk.js"></script>
54 <script>
55 document.addEventListener('DOMContentLoaded', () => {
56 document.querySelector('#launch_uri').value = window.location.origin + '/test.html';
57 });
58 document.querySelector('#nhn_proctor_launch_button').addEventListener('click', () => {
59 if (!window.nhnCDSDK) {
60 return;
61 }
62 var launchUrl = document.querySelector('#launch_uri').value;
63 var launcher = new window.nhnCDSDK.Launcher(launchUrl);
64
65 launcher.launch();
66 });
67 </script>
68</html>