document.addEventListener('DOMContentLoaded', () => { const ocultarDivs = document.querySelectorAll( '.sidebar-wrap, .footer-wrap-v1, .header-main-wrap, .similar-property-wrap, .listing-v2, .mobile-property-contact, .lightbox-form-wrap' ); const getUrl = new URLSearchParams(window.location.search); if (getUrl.has('one') && getUrl.get('one') === 'true') { for (const div of ocultarDivs) { div.style.visibility = 'hidden'; } } });