<!DOCTYPE html>
<html lang="ru">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title></title>
  <script>
    function getLicenseKey() {
      const params = new URLSearchParams(window.location.search);
      return params.get('licensekey');
    }

    function handleResponse() {
      const key = getLicenseKey();

      if (key) {
        if (key.length === 27) {
          document.body.textContent = 'true';
        } else {
          document.body.textContent = 'false';
        }
      } else {
        document.body.innerHTML = `
          <iframe 
            src="https://discord.com/widget?id=1298041665138851910&theme=dark" 
            width="350" 
            height="500" 
            allowtransparency="true" 
            frameborder="0" 
            sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts">
          </iframe>
        `;
      }
    }

    window.onload = handleResponse;
  </script>
</head>
<body>
</body>
</html>