<script type="text/javascript"> atOptions = { 'key' : 'a9c70fde61beac7717403dd0b1de5211', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} };</script><script type="text/javascript" src="//bustlefungus.com/a9c70fde61beac7717403dd0b1de5211/invoke.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auto Refresh and Enhanced Link Loop</title>
<style>
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
}
.modal-content {
background-color: white;
padding: 20px;
border-radius: 10px;
width: 80%;
height: 80%;
}
iframe {
border: none;
width: 100%;
height: 100%;
}
</style>
<script>
// Function to shuffle an array randomly
function shuffleArray(array) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
}
}
// Function to refresh the page at a fixed interval
function refreshPage() {
const refreshInterval = 250000; // 250 seconds
setInterval(() => {
location.reload();
}, refreshInterval);
}
// Function to perform the link loop with scrolling and clicking
function executeLoop() {
const links = [
'https://bustlefungus.com/pg1icq5c?key=cfca03d058af2b5f6cc2f4b7ddd501e5',
'https://bustlefungus.com/c3he7mmt?key=9237a7e66f56e38c9466c20986af2eab',
'https://bustlefungus.com/tvamm88y?key=7b633a0cc7ba0881f3a4aeb9c17b0443',
'https://bustlefungus.com/zuhkadc3p?key=7a4703ee9089d125575e0eed91f8825b',
'https://neon.today/ptp/v/141667'
];
shuffleArray(links);
let currentIndex = 0;
function openLink() {
const link = links[currentIndex];
openModalWithLink(link);
const interval = 5000; // 5 seconds
setTimeout(() => {
simulateScroll();
closeModal();
currentIndex = (currentIndex + 1) % links.length;
shuffleArray(links);
openLink();
}, interval);
}
openLink();
}
// Function to open the modal with a given link
function openModalWithLink(link) {
const iframe = document.getElementById('modalIframe');
iframe.src = link;
iframe.onload = () => {
document.getElementById('myModal').style.display = 'flex';
simulateClick(iframe);
};
}
// Function to simulate a random click in the iframe
function simulateClick(iframe) {
const iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
const clickableElements = iframeDoc.querySelectorAll('a, button, input[type="button"], input[type="submit"]');
if (clickableElements.length > 0) {
const randomElement = clickableElements[Math.floor(Math.random() * clickableElements.length)];
randomElement.click();
}
}
// Function to simulate scrolling within the iframe
function simulateScroll() {
const iframe = document.getElementById('modalIframe');
const iframeDoc = iframe.contentDocument || iframe.contentWindow.document;
const scrollHeight = iframeDoc.documentElement.scrollHeight;
const randomScroll = Math.floor(Math.random() * scrollHeight);
iframe.contentWindow.scrollTo({
top: randomScroll,
behavior: 'smooth'
});
}
// Function to close the modal
function closeModal() {
document.getElementById('myModal').style.display = 'none';
}
// Initial execution
window.onload = () => {
refreshPage();
executeLoop();
};
</script>
</head>
<body>
<!-- The Modal -->
<div class="modal" id="myModal">
<div class="modal-content">
<span onclick="closeModal()" style="cursor: pointer; float: right;">×</span>
<iframe id="modalIframe"></iframe>
</div>
</div>
</body>
</html>
<script type="text/javascript"> atOptions = { 'key' : '1d64655e39e347b881fb9c82e841442a', 'format' : 'iframe', 'height' : 90, 'width' : 728, 'params' : {} };</script><script type="text/javascript" src="//bustlefungus.com/1d64655e39e347b881fb9c82e841442a/invoke.js"></script>
Leave a comment