Terms of Service

Privacy Policy

Disclaimer: The 100 Million Dollar Builders Club provides training, tools, and accountability designed to help you take action and grow your business. However, we do not guarantee your individual results. Your success depends on your work ethic, commitment, and ability to consistently implement what you learn.

window.addEventListener("load", function() { const iframe = document.querySelector("iframe[src*='custom-html']"); if (!iframe) return console.log("❌ iframe not found"); const doc = iframe.contentDocument || iframe.contentWindow.document; const VALUE_POINTS = { yes: 2, ok: 1, no: 0 }; const ACTIONS = { leads: { label: "Leads", action: "Activate the Attention Engine", tagline: "You’re running low on qualified eyeballs. Fuel your Lead Machine." }, sales: { label: "Sales", action: "Run the Sales Revival Ritual", tagline: "Patch the leak and bring in predictable revenue." }, delivery: { label: "Delivery", action: "Deploy the Delight Protocol", tagline: "Scale fulfillment smoothly and turn clients into fans." }, profit: { label: "Profit", action: "Run the Profit Reboot Sequence", tagline: "Plug the cash leaks and price for sustainable margins." } }; const ORDER = ["leads", "sales", "delivery", "profit"]; function score(prefix) { let total = 0; for (let i = 1; i <= 5; i++) { const r = doc.querySelector(`input[name="${prefix}${i}"]:checked`); total += VALUE_POINTS[r?.value || "no"]; } return total; } function colorFor(s) { return s>= 8 ? "green" : s>= 4 ? "yellow" : "red"; } function pct(s) { return Math.round((s / 10) * 100); } function updateBar(id, s) { const bar = doc.getElementById("bar-" + id); const badge = doc.getElementById("score-" + id); if (!bar) return; bar.className = "bar-fill " + colorFor(s); bar.style.width = pct(s) + "%"; badge.textContent = s + "/10"; } function weakest(o) { const min = Math.min(o.leads, o.sales, o.delivery, o.profit); return ORDER.find(k => o[k] === min); } const btn = doc.getElementById("bdc-run"); if (!btn) return console.log("❌ button not found inside iframe"); btn.addEventListener("click", () => { const scores = { leads: score("leads"), sales: score("sales"), delivery: score("delivery"), profit: score("profit") }; Object.keys(scores).forEach(k => updateBar(k, scores[k])); const weak = weakest(scores); const w = ACTIONS[weak]; doc.getElementById("bdc-weak-label").textContent = w.label; doc.getElementById("bdc-action").textContent = w.action; doc.getElementById("bdc-tagline").textContent = w.tagline; doc.getElementById("bdc-results").style.display = "block"; }); console.log("✅ Builder Diagnostic ready inside iframe (Element Script)"); });
window.addEventListener("load", function() { const iframe = document.querySelector("iframe[src*='custom-html']"); if (!iframe) return console.log("❌ iframe not found"); const doc = iframe.contentDocument || iframe.contentWindow.document; const VALUE_POINTS = { yes: 2, ok: 1, no: 0 }; const ACTIONS = { leads: { label: "Leads", action: "Activate the Attention Engine", tagline: "You’re running low on qualified eyeballs. Fuel your Lead Machine." }, sales: { label: "Sales", action: "Run the Sales Revival Ritual", tagline: "Patch the leak and bring in predictable revenue." }, delivery: { label: "Delivery", action: "Deploy the Delight Protocol", tagline: "Scale fulfillment smoothly and turn clients into fans." }, profit: { label: "Profit", action: "Run the Profit Reboot Sequence", tagline: "Plug the cash leaks and price for sustainable margins." } }; const ORDER = ["leads", "sales", "delivery", "profit"]; function score(prefix) { let total = 0; for (let i = 1; i <= 5; i++) { const r = doc.querySelector(`input[name="${prefix}${i}"]:checked`); total += VALUE_POINTS[r?.value || "no"]; } return total; } function colorFor(s) { return s >= 8 ? "green" : s >= 4 ? "yellow" : "red"; } function pct(s) { return Math.round((s / 10) * 100); } function updateBar(id, s) { const bar = doc.getElementById("bar-" + id); const badge = doc.getElementById("score-" + id); if (!bar) return; bar.className = "bar-fill " + colorFor(s); bar.style.width = pct(s) + "%"; badge.textContent = s + "/10"; } function weakest(o) { const min = Math.min(o.leads, o.sales, o.delivery, o.profit); return ORDER.find(k => o[k] === min); } const btn = doc.getElementById("bdc-run"); if (!btn) return console.log("❌ button not found inside iframe"); btn.addEventListener("click", () => { const scores = { leads: score("leads"), sales: score("sales"), delivery: score("delivery"), profit: score("profit") }; Object.keys(scores).forEach(k => updateBar(k, scores[k])); const weak = weakest(scores); const w = ACTIONS[weak]; doc.getElementById("bdc-weak-label").textContent = w.label; doc.getElementById("bdc-action").textContent = w.action; doc.getElementById("bdc-tagline").textContent = w.tagline; doc.getElementById("bdc-results").style.display = "block"; }); console.log("✅ Builder Diagnostic ready inside iframe (Element Script)"); });