- ID da verificação
- 04f26341-70d8-4732-9320-e5be676c55dbConcluído
- URL enviado:
- https://unsubscribeapollo.baristysalmi.workers.dev/
- Relatório concluído:
Links · 0 encontrado(s)
Os links de saída identificados na página
Variáveis JavaScript · 3 encontrada(s)
Variáveis JavaScript globais carregadas no objeto janela de uma página são variáveis declaradas fora das funções e acessíveis de qualquer lugar no código dentro do escopo atual
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
Mensagens de registro do console · 0 encontrada(s)
Mensagens registradas no console web
HTML
O corpo HTML bruto da página
<!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>