window.addEventListener('load', function () { var iframe = document.querySelector('.cub3-iframe'); if (iframe) { iframe.addEventListener('load', function () { try { var iframeContent = iframe.contentDocument || iframe.contentWindow.document; var logo = iframeContent.querySelector('.css-15wjm4r'); // Replace '.css-15wjm4r' with the appropriate CSS selector for the logo if needed if (logo) { logo.style.display = 'none'; } } catch (error) { console.error('Unable to hide the logo inside the iframe:', error); } }); } });