Marketing automation has revolutionized the way e-commerce businesses engage with their customers. From email sequences to personalized SMS and dynamic…
Want more insights, tips, and updates straight to your inbox? Drop your email below, and we’ll make sure you never miss a thing!
const BF_TARGET = new Date('2025-11-28T23:59:59-05:00'); // New York (EST) target
const BLOCKED_DOMAINS = [
"gmail.com","yahoo.com","hotmail.com","outlook.com","aol.com","icloud.com",
"protonmail.com","zoho.com","ymail.com","live.com"
];
// IDs
const FORM_WIDGET_ID = 'tb-form'; // your Form widget CSS ID (you set this)
const FORM_PLACEHOLDER_ID = 'tb-form-container';
const H_ID = 'tb-hours', M_ID = 'tb-minutes', S_ID = 'tb-seconds';
// --------- Move the form widget into the placeholder ------------
document.addEventListener('DOMContentLoaded', function () {
try {
// find the widget container and the placeholder
const widgetContainer = document.getElementById(FORM_WIDGET_ID);
const placeholder = document.getElementById(FORM_PLACEHOLDER_ID);
// if both exist, move the whole widget (keeps Elementor markup & styles)
if (widgetContainer && placeholder && !placeholder.contains(widgetContainer)) {
placeholder.appendChild(widgetContainer);
}
// find the actual