// Configuration - Change the password here const CORRECT_PASSWORD = "mypassword123"; const SESSION_KEY = "framer_password_auth"; // Create password overlay function createPasswordOverlay() { const overlay = document.createElement('div'); overlay.id = 'passwordOverlay'; overlay.innerHTML = `

🔒 Protected Content

Please enter the password to access this page.

`; document.body.appendChild(overlay); } // Check authentication function checkAuthentication() { const isAuthenticated = sessionStorage.getItem(SESSION_KEY); if (isAuthenticated !== "true") { createPasswordOverlay(); document.body.style.overflow = 'hidden'; } } // Password check function checkPassword() { const inputPassword = document.getElementById('passwordInput').value; if (inputPassword === CORRECT_PASSWORD) { sessionStorage.setItem(SESSION_KEY, "true"); document.getElementById('passwordOverlay').remove(); document.body.style.overflow = 'auto'; } else { const errorDiv = document.getElementById('errorMessage'); errorDiv.textContent = "Incorrect password. Please try again."; errorDiv.style.display = "block"; document.getElementById('passwordInput').value = ""; } } // Initialize window.addEventListener('load', checkAuthentication);

stopdev

Stop Dev – The Ultimate Development Stop

Socials

Join our newsletter

stopdev

Stop Dev – The Ultimate Development Stop

Socials

Join our newsletter

stopdev

Stop Dev – The Ultimate Development Stop

Socials

Join our newsletter

2025 © PT Stop Dev Technology

2025 © PT Stop Dev Technology