document.addEventListener('DOMContentLoaded', function() { let currentUrl = window.location.href; setTimeout(() => { if(currentUrl.includes("myprofile")){ const emailInput = document.getElementById("input-52"); if(emailInput != null) { emailInput.disabled = true; } } }, 100); });