<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Secure iFrame</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      text-align: center;
      padding: 20px;
    }
    .error {
      color: red;
      font-size: 20px;
    }
    iframe {
      width: 100%;
      height: 500px;
      border: none;
    }
  </style>
  <script>
    // Function to detect Telegram in-app browser
    function isTelegramBrowser() {
      const userAgent = navigator.userAgent || navigator.vendor || window.opera;
      return /Telegram/i.test(userAgent);
    }

    window.onload = function() {
      if (isTelegramBrowser()) {
        // Display error message
        document.body.innerHTML = '<p class="error">This site does not work in the Telegram browser. Please open it in Chrome or another browser.</p>';
      } else {
        // Load iframe dynamically to hide the source URL
        const iframe = document.createElement('iframe');
        iframe.src = atob('aHR0cHM6Ly90ZXJhYm94Lmhubi53b3JrZXJzLmRldi8=');
        document.body.appendChild(iframe);
      }
    };
  </script>
</head>
<body>
</body>
</html>
