https://unsubscribeapollo.baristysalmi.workers.dev/

제출된 URL:
https://unsubscribeapollo.baristysalmi.workers.dev/
보고서 완료:

링크 · 0개 결과

페이지에서 식별된 외부 링크

JavaScript 변수 · 3개 결과

페이지의 창 개체에 로드된 전역 JavaScript 변수는 함수 외부에서 선언된 변수로, 현재 범위 내에서 코드의 어느 부분에서나 액세스할 수 있습니다

이름유형
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject

콘솔 로그 메시지 · 0개 결과

웹 콘솔에 기록된 메시지

HTML

페이지의 원시 HTML 본문

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Unsubscribe</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f9;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .unsubscribe-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }
        .logo-container {
            margin-bottom: 20px;
        }
        .logo-container img {
            max-width: 100%;
            height: auto;
            width: 150px; /* Adjust the width as needed */
        }
        h1 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #333;
        }
        p {
            font-size: 16px;
            margin-bottom: 20px;
            color: #555;
        }
        input[type="email"] {
            width: 100%;
            padding: 15px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            color: #333;
        }
        input[type="email"]:focus {
            outline: none;
            border-color: #3498db;
        }
        button {
            width: 100%;
            padding: 15px;
            background-color: #e74c3c;
            border: none;
            color: #fff;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        button:hover {
            background-color: #c0392b;
        }
        .message {
            margin-top: 20px;
            font-size: 14px;
            color: #2ecc71;
        }
        .error-message {
            color: #e74c3c;
        }
    </style>
</head>
<body>

    <div class="unsubscribe-container">
        <!-- Logo -->
        <div class="logo-container">
            <img src="https://apollo-tvgroup.com/wp-content/uploads/2024/09/APOLLO-GROUP-TV-1.png" alt="Apollo Group TV Logo">
        </div>
        
        <h1>Unsubscribe</h1>
        <p>We're sorry to see you go. Enter your email to unsubscribe.</p>
        
        <form id="unsubscribe-form">
            <input type="email" id="email" name="email" placeholder="Enter your email" required="">
            <button type="submit">Unsubscribe</button>
        </form>
        
        <div class="message" id="message"></div>
    </div>

    <script>
        document.getElementById('unsubscribe-form').addEventListener('submit', async function (event) {
            event.preventDefault(); // Prevent form from submitting the traditional way
            const email = document.getElementById('email').value;
            const messageElement = document.getElementById('message');

            // Reset message
            messageElement.textContent = '';

            if (!email) {
                messageElement.textContent = 'Please enter a valid email address.';
                messageElement.classList.add('error-message');
                return;
            }

            // Send the email to the server (replace with your PHP endpoint)
            const response = await fetch('https://apollo-tv.org/unsubscribe.php', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({ email })
            });

            if (response.ok) {
                messageElement.textContent = 'You have successfully unsubscribed.';
                messageElement.classList.remove('error-message');
                messageElement.classList.add('success-message');
            } else {
                messageElement.textContent = 'An error occurred. Please try again later.';
                messageElement.classList.add('error-message');
            }
        });
    </script>




    </body></html>