nhn-cd-sdk
Version:
NHN Cheating Detection SDK
69 lines (67 loc) • 2.4 kB
HTML
<html>
<head>
<meta charset="utf-8" />
<title>NHN SDK Demo</title>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<div class="page-launcher">
<div class="test-area">
<h1>NHN SDK Demo :: Proctor 실행</h1>
<div class="form">
<input type="text" id="launch_uri" />
<button type="button" id="nhn_proctor_launch_button">NHN Proctor 실행 버튼</button>
</div>
</div>
<div class="download">
<table>
<caption>다운로드</caption>
<thead>
<tr>
<th scope="col">OS</th>
<th scope="col">Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>Windows</th>
<td><a href="https://rlglgleej.toastcdn.net/Windows/NHNProctor-1.0.2-x64.cab" target="_blank">다운로드</a></th>
</tr>
<tr>
<td>Mac</th>
<td><a href="https://rlglgleej.toastcdn.net/macOS/NHNProctor-1.0.0.14.dmg" target="_blank">다운로드</a></th>
</tr>
</tbody>
</table>
</div>
<div class="helper">
<h2>Cheating Detection API 가이드 링크</h2>
<ul>
<li>SDK에서 제공되는 기능은 아래 API를 내부적으로 사용하고 있습니다.</li>
<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/
</a></li>
</ul>
<h2>도움말</h2>
<ul>
<li>SDK에서 제공되는 Launcher 를 이용하여 구현된 페이지입니다.</li>
<li>Launcher 를 이용해 Proctor 를 실행합니다.</li>
</ul>
</div>
</div>
</body>
<script src="/nhn-cd-sdk.js"></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelector('#launch_uri').value = window.location.origin + '/test.html';
});
document.querySelector('#nhn_proctor_launch_button').addEventListener('click', () => {
if (!window.nhnCDSDK) {
return;
}
var launchUrl = document.querySelector('#launch_uri').value;
var launcher = new window.nhnCDSDK.Launcher(launchUrl);
launcher.launch();
});
</script>
</html>