<script>
(function() {
function hideForm() {
// Method 1: Hide by exact class
var elements = document.querySelectorAll('.GetOfferCom_container__mNMEm, [class*="GetOfferCom_container"], [class*="GetOfferCom_form"]');
if (elements.length > 0) {
elements.forEach(function(el) {
el.style.display = 'none';
el.style.visibility = 'hidden';
el.style.opacity = '0';
el.style.height = '0';
el.style.overflow = 'hidden';
});
console.log('Form hidden: ' + elements.length + ' elements');
}
// Method 2: Hide parent section if needed
var sections = document.querySelectorAll('section');
sections.forEach(function(section) {
if (section.innerHTML.includes('GetOfferCom')) {
section.style.display = 'none';
console.log('Section hidden');
}
});
}
// Run immediately
hideForm();
// Run on DOM ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', hideForm);
} else {
hideForm();
}
// Run on full load
window.addEventListener('load', hideForm);
// Run multiple times with delays
setTimeout(hideForm, 100);
setTimeout(hideForm, 300);
setTimeout(hideForm, 500);
setTimeout(hideForm, 1000);
setTimeout(hideForm, 2000);
setTimeout(hideForm, 3000);
// Watch for dynamic content with MutationObserver
var observer = new MutationObserver(function(mutations) {
hideForm();
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})();
</script>