(function () { const bar = document.getElementById('bz-home-logo-nav'); if (!bar || bar.dataset.initialized === 'true') return; bar.dataset.initialized = 'true'; document.body.appendChild(bar); const sectionLinks = bar.querySelectorAll('.bz-home-nav-section'); const landingHashes = new Set(['', '#home', '#video', '#features']); function updateScroll() { bar.classList.toggle( 'bz-home-nav-scrolled', !bar.hidden && window.scrollY > 8 ); } function updateRoute() { const { hostname, pathname, hash } = window.location; const isHome = /^(www\.)?benjifinance\.com$/i.test(hostname) && pathname === '/' && landingHashes.has(hash); bar.hidden = !isHome; document.documentElement.classList.toggle('bz-home-logo-nav-active', isHome); sectionLinks.forEach(function (link) { if (isHome && link.getAttribute('href') === hash) { link.setAttribute('aria-current', 'location'); } else { link.removeAttribute('aria-current'); } }); updateScroll(); } window.addEventListener('hashchange', updateRoute); window.addEventListener('popstate', updateRoute); window.addEventListener('pageshow', updateRoute); window.addEventListener('scroll', updateScroll, { passive: true }); updateRoute(); })();
Spend less. Save more. Invest the rest.
(function () { var bubble = document.getElementById("welcome_bubble_99"); var textNode = document.getElementById("welcome_bubble_text_99"); if (!bubble || !textNode) return; var messages = [ "Spend less. Save more. Invest the rest.", "Let AI work with you, not against you.", "Why didn't they ever teach this in class?!", "'I'm bad with money' is not a thing anymore.", "Personal finance? Totally doable.", "Globally compatible AI tool. Localized for you.", "Trust in your ability to adapt.", "Privacy focused. No data collected.", "Turn ‘I Should’ into ‘Done!’", "We're here to help. Let's get started.", "Relax. You came to the right place.", "Your future self will thank you.", "Good choices, better habits.", "Money decisions will hit different.", "AI Scripts for Everyday Finance", "Use anywhere. No apps. Just Wi-Fi.", "Friendly finance > Stressful time." ]; var currentIndex = 0; textNode.textContent = messages[currentIndex]; function scheduleNext() { var delay = Math.floor(Math.random() * 15001) + 10000; setTimeout(swapMessage, delay); } function swapMessage() { bubble.classList.add("bz-swap-out"); setTimeout(function () { var next = Math.floor(Math.random() * (messages.length - 1)); if (next >= currentIndex) next += 1; currentIndex = next; textNode.textContent = messages[currentIndex]; bubble.classList.remove("bz-swap-out"); bubble.classList.add("bz-swap-in"); setTimeout(function () { bubble.classList.remove("bz-swap-in"); }, 340); scheduleNext(); }, 320); } scheduleNext(); })();

Benji Finance Suite


“Smarter money decisions in minutes.”

No books. No spreadsheets. Just answers.

Solve everyday money problems with 40+ ready-to-use AI scripts and FinanceBot. One-time purchase. Free updates. Starting price: $10.

🔒︎ Secure checkout by Lemon Squeezy

📦 What's Inside

Get the personal finance tool-kit featuring — ⚡ 40+ ready-to-use AI scripts to help you solve everyday money problems — from budgeting and credit cards to negotiating salaries, and retirement investing.

Search Money Problem ➡️ Run AI Script ➡️ Chat with FinanceBot ➡️ Get Answers

Everything is handled in a fast, easy, and interactive way.

  • 40+ Finance Tools

    Explore tools for spending, debt, saving, and investing.

  • Instant Search

    Search by money problem to find a matching script.

  • FinanceBot

    Talk through money decisions, one question at a time.

  • Dashboards

    See your estimated savings and track your progress.

  • Privacy-Focused

    Use on desktop or mobile. No app download required.

  • Local Backup

    Save and restore your data to your device.

Let’s upgrade how you think about money.

Get Benji Finance Suite · $10
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
(function(){ function init(){ var nav = document.getElementById("bz-access-nav"); if(!nav || nav.dataset.initialized === "true") return; var back = nav.querySelector(".bz-access-back"); if(!back) return; nav.dataset.initialized = "true"; document.body.appendChild(nav); var home = "https://benjifinance.com/"; var routes = [ { pages: [ "#get-access", "#login", "#signup", "#recovery", "#reset", "#claim", "#account", "#free" ], destination: "", label: "Back to Benji Finance home" }, { pages: ["#script1", "#script2", "#script3"], destination: "#free", label: "Back to free scripts" }, { pages: ["#terms", "#privacy"], destination: "#get-access", label: "Back to Get Access" } ]; function updateScrollState(){ nav.classList.toggle( "bz-access-scrolled", !nav.hidden && window.scrollY > 8 ); } function updateNavigation(){ var location = window.location; var onMainSite = /^(www\.)?benjifinance\.com$/i.test(location.hostname) && location.pathname === "/"; var currentHash = location.hash.toLowerCase(); var route = onMainSite && routes.find(function(item){ return item.pages.includes(currentHash); }); if(route){ back.href = home + route.destination; back.setAttribute("aria-label", route.label); back.title = route.label; } nav.hidden = !route; document.documentElement.classList.toggle("bz-access-nav-active", !!route); updateScrollState(); } window.addEventListener("hashchange", updateNavigation); window.addEventListener("popstate", updateNavigation); window.addEventListener("pageshow", updateNavigation); window.addEventListener("scroll", updateScrollState, {passive:true}); updateNavigation(); } if(document.readyState === "loading"){ document.addEventListener("DOMContentLoaded", init, {once:true}); }else{ init(); } })();
Click me to go back home
(() => { setTimeout(() => { if (location.hash !== '#get-access') return; const status = document.querySelector( '[data-route="get-access"] [data-field="message"]' ); if (!status) return; if (!window.__BZ_STATIC_CONTROLLER_LOADED) { status.textContent = 'Account controller did not load. Install 10-controller-footer.txt as a global Body End embed, then refresh.'; } else if (!window.__BZ_STATIC_FORMS && !window.__BZ_STATIC_STARTUP_ERROR) { status.textContent = 'Account forms are not ready. Check that all seven inline section embeds are installed.'; } }, 22000); })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(()=>{ const input=document.getElementById('bz-sign-up-license'); const feedback=document.getElementById('bz-sign-up-license-feedback'); if(!input || !feedback || input.dataset.lengthCheckReady)return; input.dataset.lengthCheckReady='1'; const expected=input.placeholder.length; let touched=false; function validate(showFeedback=false){ const length=input.value.trim().length; const valid=length===expected; const message=length===0 ? 'Please enter your license key.' : `License key must be ${expected} characters, including hyphens.`; input.setCustomValidity(valid ? '' : message); feedback.textContent=showFeedback && !valid ? message : ''; if(showFeedback && !valid){ input.setAttribute('aria-invalid','true'); }else{ input.removeAttribute('aria-invalid'); } return valid; } input.addEventListener('blur',()=>{ input.value=input.value.trim(); touched=true; validate(true); }); input.addEventListener('input',()=>{ validate(touched); }); input.addEventListener('change',()=>{ input.value=input.value.trim(); validate(touched); }); input.addEventListener('invalid',()=>{ touched=true; validate(true); }); input.form.addEventListener('submit',event=>{ input.value=input.value.trim(); if(!validate(true)){ event.preventDefault(); event.stopImmediatePropagation(); input.reportValidity(); } },true); })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
(function(){ var devicesWrap=document.getElementById('bz-account-devices'); var slotsText=document.getElementById('bz-account-device-slots'); if(!devicesWrap || !slotsText) return; if(devicesWrap.dataset.slotCounterReady==='true') return; devicesWrap.dataset.slotCounterReady='true'; function updateDeviceSlotText(){ var used=devicesWrap.querySelectorAll('.device').length; if(used<1){ slotsText.textContent=''; return; } used=Math.min(used,3); slotsText.textContent=used+' of 3 slots used.'; } updateDeviceSlotText(); var observer=new MutationObserver(function(){ updateDeviceSlotText(); }); observer.observe(devicesWrap,{ childList:true, subtree:true }); })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
(function(){ "use strict"; function init(){ var root = document.getElementById("bz-navigation-root"); if(!root || root.dataset.bzInitialized === "true") return; var menuToggle = document.getElementById("bz-menu_1-toggle"); var menuButton = document.getElementById("bz-menu-button"); var menuPanel = document.getElementById("bz-menu-panel"); var searchBtn = document.getElementById("bz-nav-search-btn"); var contactBtn = document.getElementById("bz-contact-btn"); var contactOverlay = document.getElementById("bz-contact-overlay"); var contactInput = document.getElementById("bz-message"); var shareBtn = document.getElementById("bz-share-btn"); var shareOverlay = document.getElementById("bz-share-overlay"); var shareMessage = document.getElementById("bz-share-message"); if( !menuToggle || !menuButton || !menuPanel || !searchBtn || !contactBtn || !contactOverlay || !contactInput || !shareBtn || !shareOverlay || !shareMessage ) return; root.dataset.bzInitialized = "true"; /* Keep navigation outside Carrd's individual section containers. */ if(root.parentNode !== document.body){ document.body.appendChild(root); } var BZ_SHARE_URL = "https://benjifinance.com/"; var LAST_SEEN_SAVINGS_KEY = "bz_last_seen_savings_v1"; var shareOutsideClickCount = 0; var scrollFrame = null; var menuWidthFrame = null; var originalPanelWidth = menuPanel.style.getPropertyValue("width"); var originalPanelWidthPriority = menuPanel.style.getPropertyPriority("width"); var originalPanelMaxWidth = menuPanel.style.getPropertyValue("max-width"); var originalPanelMaxWidthPriority = menuPanel.style.getPropertyPriority("max-width"); /* Background only; controls remain visible at every scroll position. */ function updateScrollBackground(){ scrollFrame = null; var top = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop || 0; root.classList.toggle("bz-nav-scrolled",top > 8); } function scheduleScrollBackground(){ if(scrollFrame !== null) return; scrollFrame = requestAnimationFrame(updateScrollBackground); } window.addEventListener( "scroll", scheduleScrollBackground, {passive:true} ); window.addEventListener("pageshow",scheduleScrollBackground); window.addEventListener("hashchange",scheduleScrollBackground); window.addEventListener("resize",scheduleScrollBackground); updateScrollBackground(); function restoreMenuWidth(){ if(originalPanelWidth){ menuPanel.style.setProperty( "width", originalPanelWidth, originalPanelWidthPriority ); }else{ menuPanel.style.removeProperty("width"); } if(originalPanelMaxWidth){ menuPanel.style.setProperty( "max-width", originalPanelMaxWidth, originalPanelMaxWidthPriority ); }else{ menuPanel.style.removeProperty("max-width"); } } function updateMobileMenuWidth(){ restoreMenuWidth(); if(!window.matchMedia("(max-width:640px)").matches) return; if(!menuToggle.checked) return; var style = window.getComputedStyle(menuPanel); var baseWidth = parseFloat(style.width); if(!isFinite(baseWidth) || baseWidth <= 0) return; var extraWidth = 0; if(style.boxSizing !== "border-box"){ extraWidth = (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.paddingRight) || 0) + (parseFloat(style.borderLeftWidth) || 0) + (parseFloat(style.borderRightWidth) || 0); } var targetOuterWidth = Math.min( (baseWidth + extraWidth) * 1.045, document.documentElement.clientWidth - 24 ); var targetWidth = Math.max(0,targetOuterWidth - extraWidth); menuPanel.style.setProperty("max-width","none","important"); menuPanel.style.setProperty( "width", targetWidth + "px", "important" ); } function scheduleMenuWidth(){ if(menuWidthFrame !== null){ cancelAnimationFrame(menuWidthFrame); } menuWidthFrame = requestAnimationFrame(function(){ menuWidthFrame = null; updateMobileMenuWidth(); }); } function formatMoney(n){ try{ return n.toLocaleString("en-US"); }catch(e){ return String(n); } } function parseMoneyText(text){ var num = parseInt( String(text || "").replace(/[^0-9.-]/g,""), 10 ); return isNaN(num) ? 0 : num; } function getSavingsTotal(){ var node = document.getElementById("bz-dash-savings"); if(node){ var target = parseInt( node.getAttribute("data-target-saved") || "", 10 ); if(!isNaN(target) && target > 0) return target; var last = parseInt( node.getAttribute("data-last-saved") || "", 10 ); if(!isNaN(last) && last > 0) return last; var text = parseMoneyText(node.textContent); if(text > 0) return text; } try{ var stored = parseInt( localStorage.getItem(LAST_SEEN_SAVINGS_KEY) || "", 10 ); if(!isNaN(stored) && stored > 0) return stored; }catch(e){} return 0; } function updateShareButtonState(){ shareBtn.classList.toggle( "bz-has-savings", getSavingsTotal() > 0 && !shareOverlay.classList.contains("bz-visible") ); } function hydrateShareMessage(){ var total = getSavingsTotal(); var amount = total > 0 ? "$" + formatMoney(total) : "$X"; shareMessage.innerHTML = "Pretty awesome, I just found about " + amount + " in savings using Benji Finance Suite. Find out how: " + BZ_SHARE_URL; } function syncMenuState(){ var open = menuToggle.checked; menuButton.setAttribute("aria-expanded",String(open)); menuButton.setAttribute( "aria-label", open ? "Close navigation menu" : "Open navigation menu" ); } function closeBookmarksMenu(){ if(menuToggle.checked){ menuToggle.checked = false; menuToggle.dispatchEvent( new Event("change",{bubbles:true}) ); }else{ syncMenuState(); } } function closeContact(){ contactOverlay.classList.remove("bz-visible"); contactBtn.classList.remove("bz-opened"); contactBtn.setAttribute("aria-expanded","false"); } function closeShare(){ shareOverlay.classList.remove("bz-visible"); shareBtn.classList.remove("bz-opened"); shareBtn.setAttribute("aria-expanded","false"); shareOutsideClickCount = 0; updateShareButtonState(); } function openContact(){ closeShare(); closeBookmarksMenu(); contactOverlay.classList.add("bz-visible"); contactBtn.classList.add("bz-opened"); contactBtn.setAttribute("aria-expanded","true"); setTimeout(function(){ if(!contactOverlay.classList.contains("bz-visible")) return; contactInput.focus(); try{ var len = contactInput.value.length; contactInput.setSelectionRange(len,len); }catch(e){} },120); } function openShare(){ closeContact(); closeBookmarksMenu(); hydrateShareMessage(); shareOutsideClickCount = 0; shareOverlay.classList.add("bz-visible"); shareBtn.classList.add("bz-opened"); shareBtn.setAttribute("aria-expanded","true"); shareBtn.classList.remove("bz-has-savings"); setTimeout(function(){ if(!shareOverlay.classList.contains("bz-visible")) return; shareMessage.focus(); var selection = window.getSelection(); if(!selection) return; var range = document.createRange(); range.selectNodeContents(shareMessage); range.collapse(false); selection.removeAllRanges(); selection.addRange(range); },120); } /* Native link supports the same-page #search scrollpoint. */ searchBtn.addEventListener("click",function(){ closeContact(); closeShare(); closeBookmarksMenu(); }); menuToggle.addEventListener("change",function(){ if(menuToggle.checked){ closeContact(); closeShare(); menuPanel.scrollTop = 0; document.querySelectorAll(".bz-dash-overlay.bz-visible") .forEach(function(el){ el.classList.remove("bz-visible"); }); } syncMenuState(); scheduleMenuWidth(); }); menuButton.addEventListener("keydown",function(e){ if(e.key === "Enter" || e.key === " "){ e.preventDefault(); menuToggle.checked = !menuToggle.checked; menuToggle.dispatchEvent( new Event("change",{bubbles:true}) ); } }); menuPanel.querySelectorAll("a").forEach(function(link){ link.addEventListener("click",closeBookmarksMenu); }); window.addEventListener("hashchange",closeBookmarksMenu); window.addEventListener("pagehide",closeBookmarksMenu); window.addEventListener("resize",scheduleMenuWidth); contactBtn.addEventListener("click",function(){ if(contactOverlay.classList.contains("bz-visible")){ closeContact(); }else{ openContact(); } }); shareBtn.addEventListener("click",function(){ if(shareOverlay.classList.contains("bz-visible")){ closeShare(); }else{ openShare(); } }); document.getElementById("bz-close") .addEventListener("click",closeContact); document.getElementById("bz-share-close") .addEventListener("click",closeShare); contactOverlay.addEventListener("click",function(e){ if(e.target === contactOverlay){ closeContact(); } }); shareOverlay.addEventListener("click",function(e){ if(e.target !== shareOverlay) return; if(window.innerWidth >= 700){ shareOutsideClickCount++; if(shareOutsideClickCount >= 2){ closeShare(); } }else{ closeShare(); } }); document.addEventListener("keydown",function(e){ if(e.key === "Escape"){ closeContact(); closeShare(); closeBookmarksMenu(); } }); document.getElementById("bz-send-btn") .addEventListener("click",function(){ var link = document.createElement("a"); link.href = "mailto:[email protected]" + "?subject=" + encodeURIComponent("Benji Finance Suite: Customer Support") + "&body=" + encodeURIComponent(contactInput.value || ""); link.style.display = "none"; document.body.appendChild(link); link.click(); link.remove(); }); document.getElementById("bz-share-send-btn") .addEventListener("click",function(){ var tweetText = shareMessage.innerText .trim() .replace(BZ_SHARE_URL,"") .trim(); var copyText = tweetText + "\n" + BZ_SHARE_URL; if(navigator.clipboard && navigator.clipboard.writeText){ navigator.clipboard.writeText(copyText).catch(function(){}); } window.open( "https://x.com/intent/tweet?text=" + encodeURIComponent(tweetText) + "&url=" + encodeURIComponent(BZ_SHARE_URL), "_blank" ); }); function syncNavigationMode(){ var onMainPage = /^(www\.)?benjifinance\.com$/i.test(window.location.hostname) && window.location.pathname === "/" && ["#full", "#search", "#dashboard"].includes(window.location.hash); root.classList.toggle("bz-nav-back-only", !onMainPage); if(!onMainPage){ closeBookmarksMenu(); closeContact(); closeShare(); } } window.addEventListener("hashchange",syncNavigationMode); window.addEventListener("popstate",syncNavigationMode); window.addEventListener("pageshow",syncNavigationMode); syncNavigationMode(); function refresh(){ scheduleScrollBackground(); updateShareButtonState(); syncMenuState(); scheduleMenuWidth(); } document.addEventListener("visibilitychange",function(){ if(!document.hidden){ refresh(); } }); window.addEventListener("focus",refresh); refresh(); } if(document.readyState === "loading"){ document.addEventListener("DOMContentLoaded",init,{once:true}); }else{ init(); } })();
(function(){ function swapBorderColors(){ var root = document.getElementById("bz-navigation-root"); var button = document.getElementById("bz-menu-signout"); if(!root || !button) return; var original = button.style.getPropertyValue("border-color"); var priority = button.style.getPropertyPriority("border-color"); button.style.setProperty( "border-color", "revert-layer", "important" ); var color = getComputedStyle(button).borderTopColor; if(original){ button.style.setProperty( "border-color", original, priority ); }else{ button.style.removeProperty("border-color"); } root.style.setProperty("--bz-account-border",color); } if(document.readyState === "loading"){ document.addEventListener( "DOMContentLoaded", swapBorderColors, {once:true} ); }else{ swapBorderColors(); } })(); (function(){ function matchAccountBorder(){ var root = document.getElementById("bz-navigation-root"); if(!root) return; var profile = root.querySelector(".bz-profile-placeholder"); var account = root.querySelector("#bz-menu-account-info"); if(!profile || !account) return; account.style.setProperty( "border-color", getComputedStyle(profile).borderTopColor, "important" ); } if(document.readyState === "loading"){ document.addEventListener( "DOMContentLoaded", matchAccountBorder, {once:true} ); }else{ matchAccountBorder(); } })();
(function(){ function startBookmark(){ var root = document.getElementById("bz-navigation-root"); if(!root || root.dataset.bookmarkReady === "true") return; root.dataset.bookmarkReady = "true"; /* BACKUP REMINDER */ (function(){ var STORAGE_KEY = "bz_category_progress_v1"; var BACKUP_SEEN_KEY = "bz_backup_prompt_seen_v1"; var CATEGORY_KEYS = [ "money_wins" "spending_leaks", "reality_checks", "debt_fixes", "big_life", "growth_wins", "power_tools" ]; var backupLink = document.getElementById("bz-backup-link"); var backupDot = document.getElementById("bz-backup-dot"); var toggle = document.getElementById("bz-menu_1-toggle"); function getCompletedCount(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)) || {}; var seen = new Set(); CATEGORY_KEYS.forEach(function(category){ var state = store[category]; if(!state) return; Object.keys(state).forEach(function(scriptId){ if(state[scriptId] === true) seen.add(scriptId); }); }); return seen.size; }catch(e){ return 0; } } function updateBackupDot(){ if(!backupDot) return; var seenBackupPage = false; try{ seenBackupPage = localStorage.getItem(BACKUP_SEEN_KEY) === "1"; }catch(e){} backupDot.style.display = !seenBackupPage && getCompletedCount() >= 10 ? "inline-block" : "none"; } if(backupLink){ backupLink.addEventListener("click",function(){ try{ localStorage.setItem(BACKUP_SEEN_KEY,"1"); }catch(e){} updateBackupDot(); }); } window.addEventListener("storage",function(e){ if( e.key === STORAGE_KEY || e.key === BACKUP_SEEN_KEY || e.key === null ){ updateBackupDot(); } }); if(toggle){ toggle.addEventListener("change",function(){ if(toggle.checked) updateBackupDot(); }); } window.addEventListener("focus",updateBackupDot); updateBackupDot(); })(); /* ACCOUNT AND SIGN-OUT */ (function(){ const box = document.getElementById("bz-menu-account"); if(!box || box.dataset.ready) return; box.dataset.ready = "1"; const info = document.getElementById("bz-menu-account-info"); const button = document.getElementById("bz-menu-signout"); const status = document.getElementById("bz-menu-account-status"); const toggle = document.getElementById("bz-menu_1-toggle"); let revision = 0; let signingOut = false; async function sync(){ if(signingOut) return; const run = ++revision; const A = window.BenjiAuth; if(!A) return; try{ await A.ready; const session = await A.session(); if(run !== revision || signingOut) return; const email = session && session.user && session.user.email; box.hidden = !email; button.hidden = !email; info.textContent = email ? " " + email : ""; status.textContent = ""; }catch{ if(run !== revision || signingOut) return; box.hidden = false; button.hidden = true; info.textContent = "Account unavailable"; status.textContent = "Please refresh to load your account."; } } button.addEventListener("click",async function(){ if(signingOut) return; signingOut = true; ++revision; button.disabled = true; button.textContent = "Signing out…"; status.textContent = ""; try{ const A = window.BenjiAuth; if(!A){ throw Error("Account service unavailable. Please refresh."); } await A.ready; await A.logout(); try{ sessionStorage.removeItem("bz2_pending"); }catch{} info.textContent = ""; box.hidden = true; if(toggle){ toggle.checked = false; toggle.dispatchEvent(new Event("change",{bubbles:true})); } window.location.replace("https://benjifinance.com/"); }catch{ status.textContent = "Could not sign out. Please try again."; }finally{ signingOut = false; button.disabled = false; button.textContent = "Sign out"; } }); for(const event of [ "benji-auth-ready", "benji-auth-change", "pageshow", "focus" ]){ window.addEventListener(event,sync); } if(toggle){ toggle.addEventListener("change",function(){ if(toggle.checked) sync(); }); } sync(); })(); /* PROFILE NAME AND IMAGE */ (function(){ const name = document.getElementById("bz-menu-profile-name"); const image = document.getElementById("bz-menu-profile-img"); const plus = document.getElementById("bz-menu-profile-plus"); if(!name || !image || !plus || name.dataset.profileReady) return; name.dataset.profileReady = "1"; const NAME_KEY = "bz_user_name_v1"; const PROFILE_KEY = "bz_user_profile_image_v1"; function saved(key){ try{ return localStorage.getItem(key) || ""; }catch{ return ""; } } function sync(){ name.textContent = saved(NAME_KEY).trim() || "Your Name"; const photo = saved(PROFILE_KEY); if(photo){ if(image.getAttribute("src") !== photo){ image.src = photo; } image.hidden = false; plus.hidden = true; }else{ image.removeAttribute("src"); image.hidden = true; plus.hidden = false; } } image.addEventListener("error",function(){ image.hidden = true; plus.hidden = false; }); const observed = new WeakSet(); const observer = new MutationObserver(sync); function connect(){ for(const id of [ "bz-greetings-label-text", "bz-greetings-profile-img" ]){ const node = document.getElementById(id); if(node && !observed.has(node)){ observed.add(node); observer.observe( node, id === "bz-greetings-profile-img" ? { attributes:true, attributeFilter:["src","hidden"] } : { childList:true, subtree:true, characterData:true } ); } } sync(); } window.addEventListener("storage",function(event){ if( event.key === NAME_KEY || event.key === PROFILE_KEY || event.key === null ){ sync(); } }); for(const event of [ "pageshow", "focus", "benji-auth-ready", "benji-auth-change" ]){ window.addEventListener(event,connect); } document.addEventListener("visibilitychange",function(){ if(!document.hidden) connect(); }); document.getElementById("bz-menu_1-toggle") ?.addEventListener("change",connect); connect(); })(); } if(document.readyState === "loading"){ document.addEventListener("DOMContentLoaded",startBookmark,{once:true}); }else{ startBookmark(); } })();
Welcome back!
(function () { const bubble = document.getElementById("bz-welcome-bubble-100"); const textNode = document.getElementById("bz-welcome-bubble-text-100"); if (!bubble || !textNode) return; const messages = [ "Welcome back!", "Let AI work with you, not against you.", "Trust in your ability to adapt.", "Privacy focused. No data collected.", "Why didn't they ever teach this in class?!", "Globally compatible. Localized to your city.", "Check out the Quick Tips!", "'I'm bad with money' is not a thing anymore.", "Personal finance? Totally doable.", "Spend less. Save more. Invest the rest.", "Turn ‘I Should’ into ‘Done!’", "We're here to help. Let's get started.", "Relax. You came to the right place.", "Your future self will thank you.", "Good choices, better habits.", "Money decisions will hit different.", "AI Scripts for Everyday Finance", "Use anywhere. No apps. Just Wi-Fi.", "Friendly finance > Stressful time." ]; let currentIndex = 0; function scheduleNext() { const delay = Math.floor(Math.random() * 15001) + 10000; setTimeout(swapMessage, delay); } function swapMessage() { bubble.classList.add("bz-swap-out"); setTimeout(function () { let nextIndex = Math.floor(Math.random() * (messages.length - 1)); if (nextIndex >= currentIndex) nextIndex += 1; currentIndex = nextIndex; textNode.textContent = messages[currentIndex]; bubble.classList.remove("bz-swap-out"); bubble.classList.add("bz-swap-in"); setTimeout(function () { bubble.classList.remove("bz-swap-in"); }, 340); scheduleNext(); }, 320); } scheduleNext(); })();

Benji Finance Suite


“Smarter money decisions in minutes.”

No books. No spreadsheets. Just answers.

(function(){ function initFinOSFull(){ var wrap = document.getElementById( "bz-fin-os-full-wrap" ); if(!wrap) return; var toggle = wrap.querySelector( "#bz-fin-os-full-toggle" ); var panel = wrap.querySelector( "#bz-fin-os-full-panel" ); if(!toggle || !panel) return; /* PREVENT DUPLICATE EVENT BINDINGS */ if(toggle.dataset.bzReady === "true") return; toggle.dataset.bzReady = "true"; function setExpanded(isOpen){ toggle.setAttribute( "aria-expanded", isOpen ? "true" : "false" ); panel.setAttribute( "aria-hidden", isOpen ? "false" : "true" ); } /* ALWAYS START CLOSED */ setExpanded(false); /* TOGGLE PANEL */ toggle.addEventListener("click", function(event){ event.preventDefault(); event.stopPropagation(); var isOpen = toggle.getAttribute("aria-expanded") === "true"; setExpanded(!isOpen); }); } /* RUN IMMEDIATELY */ initFinOSFull(); /* RUN AFTER DOM LOAD */ if(document.readyState === "loading"){ document.addEventListener( "DOMContentLoaded", initFinOSFull ); } /* RECHECK WHEN CARRD OPENS #FULL */ window.addEventListener("hashchange", function(){ if(window.location.hash.toLowerCase() === "#full"){ setTimeout(initFinOSFull, 50); } }); })();
(() => { function start() { const shell = document.getElementById('bzsf-shell'); if (!shell) return false; if (shell.dataset.searchFixed === 'true') return true; const input = shell.querySelector('#bzsf-search-input'); const prompt = shell.querySelector('#bzsf-idle-prompt'); const topic = shell.querySelector('.bzsf-prompt-topic'); const panel = shell.querySelector('#bzsf-overlay'); const results = shell.querySelector('#bzsf-results'); const scroll = shell.querySelector('.bzsf-modal-scroll'); const count = shell.querySelector('#bzsf-count'); const loading = shell.querySelector('#bzsf-loading'); const button = shell.querySelector('#bzsf-search-btn'); const close = shell.querySelector('#bzsf-close'); if ( !input || !prompt || !topic || !panel || !results || !scroll || !count || !loading || !button || !close ) { return false; } shell.dataset.searchFixed = 'true'; const SEARCH_DELAY = 500; const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)'); let searchTimer = 0; let layoutFrame = 0; let waitingForData = false; let resizeObserver = null; loading.style.setProperty('--bzsf-search-delay', `${SEARCH_DELAY}ms`); function setLoading(active) { loading.hidden = !active; scroll.hidden = active; results.setAttribute('aria-busy', String(active)); } function cancelPendingSearch() { window.clearTimeout(searchTimer); searchTimer = 0; setLoading(false); } function normalize(value) { return String(value == null ? '' : value) .normalize('NFKD') .replace(/[\u0300-\u036f]/g, '') .toLowerCase() .replace(/[^a-z0-9]+/g, ' ') .trim(); } function syncPrompt() { const hasText = input.value.length > 0; prompt.hidden = document.activeElement === input || hasText; shell.classList.toggle('bzsf-has-text', hasText); const clear = shell.querySelector('#bzsf-clear-btn'); if (clear) clear.hidden = !hasText; } async function animatePrompt(nextText) { if (reducedMotion.matches || typeof topic.animate !== 'function') { topic.textContent = nextText; return; } const exit = topic.animate( [ { opacity: 1, transform: 'translateY(0)' }, { opacity: 0, transform: 'translateY(-6px)' } ], { duration: 280, easing: 'ease-in', fill: 'forwards' } ); try { await exit.finished; } catch { return; } topic.textContent = nextText; exit.cancel(); if (!shell.isConnected || prompt.hidden || document.hidden || reducedMotion.matches) { return; } topic.animate( [ { opacity: 0, transform: 'translateY(6px)' }, { opacity: 1, transform: 'translateY(0)' } ], { duration: 420, easing: 'cubic-bezier(.22,.61,.36,1)' } ); } function fitThreeResults() { if (panel.hidden || scroll.hidden) return; const cards = Array.from(results.children).slice(0, 3); if (!cards.length) return; const styles = getComputedStyle(scroll); const extra = [ styles.paddingTop, styles.paddingBottom, styles.borderTopWidth, styles.borderBottomWidth ].reduce((total, value) => total + (parseFloat(value) || 0), 0); const first = cards[0].getBoundingClientRect(); const last = cards[cards.length - 1].getBoundingClientRect(); const height = Math.ceil(last.bottom - first.top + extra); if (height > 0) { scroll.style.maxHeight = `min(${height}px, 45dvh)`; } } function scheduleLayout() { cancelAnimationFrame(layoutFrame); layoutFrame = requestAnimationFrame(fitThreeResults); } function setOpen(open) { if (!open) cancelPendingSearch(); panel.hidden = !open; panel.style.setProperty('display', open ? 'block' : 'none', 'important'); input.setAttribute('aria-expanded', String(open)); button.setAttribute('aria-expanded', String(open)); if (open) scheduleLayout(); } function showMessage(text) { results.textContent = ''; const element = document.createElement('p'); element.className = 'bzsf-empty'; element.textContent = text; results.appendChild(element); scheduleLayout(); } function compareScripts(a, b) { const first = String(a.number == null ? '' : a.number).trim(); const second = String(b.number == null ? '' : b.number).trim(); const firstNumeric = /^\d+$/.test(first); const secondNumeric = /^\d+$/.test(second); if (firstNumeric && secondNumeric) return Number(first) - Number(second); if (firstNumeric) return -1; if (secondNumeric) return 1; return first.localeCompare(second, 'en', { sensitivity: 'base', numeric: true }); } function highlight(element, value, words) { const text = String(value == null ? '' : value); element.textContent = ''; if (!words.length) { element.textContent = text; return; } const pattern = new RegExp(words.join('|'), 'gi'); let cursor = 0; let match; while ((match = pattern.exec(text)) !== null) { element.appendChild( document.createTextNode(text.slice(cursor, match.index)) ); const mark = document.createElement('mark'); mark.className = 'bzsf-keyword'; mark.textContent = match[0]; element.appendChild(mark); cursor = match.index + match[0].length; } element.appendChild(document.createTextNode(text.slice(cursor))); } function showSearchError(error) { console.error('Benji search rendering error:', error); count.textContent = 'Search could not load'; showMessage( 'There was a problem displaying the scripts. Please refresh and try again.' ); } function paintResults(items, words) { try { const fragment = document.createDocumentFragment(); items.forEach(item => { const link = document.createElement('a'); link.className = 'bzsf-result-item'; link.href = item.href || '#'; const title = document.createElement('span'); title.className = 'bzsf-result-line'; highlight(title, item.title, words); title.insertBefore( document.createTextNode(`${item.number}. `), title.firstChild ); link.appendChild(title); if (item.description) { const description = document.createElement('span'); description.className = 'bzsf-result-description'; highlight(description, item.description, words); link.appendChild(description); } fragment.appendChild(link); }); results.textContent = ''; results.appendChild(fragment); scroll.scrollTop = 0; if (!items.length) { showMessage( 'No matches. Try another keyword, such as credit, groceries, or investing.' ); return; } scheduleLayout(); } catch (error) { showSearchError(error); } } function render(delay = 0) { cancelPendingSearch(); setOpen(true); syncPrompt(); if (!Array.isArray(window.BZSF_SCRIPTS)) { waitingForData = true; count.textContent = 'Loading scripts…'; showMessage( 'The script list has not loaded yet. Check that code boxes 4 and 5 are included.' ); return; } waitingForData = false; try { const query = normalize(input.value); const words = Array.from( new Set(query.split(/\s+/).filter(Boolean)) ).sort((a, b) => b.length - a.length); const items = window.BZSF_SCRIPTS .filter(item => { if (!item || typeof item !== 'object') return false; if (!query) return true; const aliases = Array.isArray(item.aliases) ? item.aliases : []; const fields = [ normalize(item.title), normalize(item.description), ...aliases.map(normalize) ]; const combined = fields.join(' '); return ( normalize(item.number) === query || fields.some(field => field.includes(query)) || words.every(word => combined.includes(word)) ); }) .sort(compareScripts); count.textContent = `${items.length} ${items.length === 1 ? 'match' : 'matches'} found`; if (delay > 0) { setLoading(true); searchTimer = window.setTimeout(() => { searchTimer = 0; setLoading(false); if (!panel.hidden && shell.isConnected) { paintResults(items, words); } }, delay); } else { paintResults(items, words); } } catch (error) { showSearchError(error); } } input.addEventListener('focus', () => { syncPrompt(); if (input.value.trim()) render(); }); input.addEventListener('blur', syncPrompt); input.addEventListener('input', () => { syncPrompt(); if (input.value.trim()) { render(SEARCH_DELAY); } else { setOpen(false); } }); input.addEventListener('keydown', event => { if (event.isComposing) return; if (event.key === 'Enter') { event.preventDefault(); render(); } if (event.key === 'ArrowDown') { event.preventDefault(); if (panel.hidden || searchTimer) render(); const first = results.querySelector('a'); if (first) first.focus(); } }); button.addEventListener('click', () => { if (!panel.hidden) { setOpen(false); } else { input.focus({ preventScroll: true }); render(); } }); close.addEventListener('click', () => { setOpen(false); input.blur(); close.blur(); syncPrompt(); }); shell.addEventListener('keydown', event => { if (event.key === 'Escape') { event.preventDefault(); input.focus({ preventScroll: true }); setOpen(false); return; } const links = Array.from(results.querySelectorAll('a')); const index = links.indexOf(document.activeElement); if (index >= 0 && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) { event.preventDefault(); const next = index + (event.key === 'ArrowDown' ? 1 : -1); if (next < 0) { input.focus({ preventScroll: true }); } else { links[Math.min(next, links.length - 1)].focus(); } } }); function handleOutsidePress(event) { if (!shell.contains(event.target)) { input.blur(); input.value = ''; setOpen(false); syncPrompt(); } } document.addEventListener('pointerdown', handleOutsidePress); if ('ResizeObserver' in window) { resizeObserver = new ResizeObserver(scheduleLayout); resizeObserver.observe(results); } window.addEventListener('resize', scheduleLayout); if (document.fonts) { document.fonts.ready.then(scheduleLayout); } const examples = [ 'investing', 'raise credit', 'save cash', 'meal prep', 'hospital bill', 'job salary', 'retirement' ]; let exampleIndex = 0; let promptTicks = 0; topic.textContent = examples[0]; setOpen(false); syncPrompt(); const timer = window.setInterval(() => { if (!shell.isConnected) { window.clearInterval(timer); cancelPendingSearch(); if (resizeObserver) resizeObserver.disconnect(); cancelAnimationFrame(layoutFrame); window.removeEventListener('resize', scheduleLayout); document.removeEventListener('pointerdown', handleOutsidePress); return; } if ( waitingForData && !panel.hidden && Array.isArray(window.BZSF_SCRIPTS) ) { render(); } syncPrompt(); if (prompt.hidden || document.hidden) { promptTicks = 0; return; } promptTicks += 1; if (promptTicks < 2) return; promptTicks = 0; exampleIndex = (exampleIndex + 1) % examples.length; animatePrompt(examples[exampleIndex]); }, 3000); return true; } if (!start()) { const timer = window.setInterval(() => { if (start()) window.clearInterval(timer); }, 200); } })();
(() => { function start(){ const shell = document.getElementById('bzsf-shell'); const input = document.getElementById('bzsf-search-input'); const wrap = document.getElementById('bzsf-search-wrap'); if (!shell || !input || !wrap) return false; if (shell.dataset.eraseEnhancementsReady === 'true'){ return true; } shell.dataset.eraseEnhancementsReady = 'true'; /* REPLACE ANY PREVIOUS ERASE BUTTON */ const previous = document.getElementById('bzsf-clear-btn'); if (previous){ previous.remove(); } const clear = document.createElement('button'); clear.id = 'bzsf-clear-btn'; clear.type = 'button'; clear.hidden = true; clear.setAttribute('aria-label', 'Clear search'); clear.setAttribute('aria-controls', 'bzsf-search-input'); /* CREATE THE SVG USING THE SVG NAMESPACE */ const svgNS = 'http://www.w3.org/2000/svg'; const svg = document.createElementNS(svgNS, 'svg'); const path = document.createElementNS(svgNS, 'path'); svg.setAttribute('viewBox', '0 0 30 24'); svg.setAttribute('width', '30'); svg.setAttribute('height', '24'); svg.setAttribute('fill', 'none'); svg.setAttribute('stroke', '#F8FAFC'); svg.setAttribute('stroke-width', '1.8'); svg.setAttribute('aria-hidden', 'true'); svg.setAttribute('focusable', 'false'); path.setAttribute( 'd', 'M11 4 H25 Q27 4 27 6 V18 Q27 20 25 20 H11 L3 12 Z' ); path.setAttribute('fill', 'none'); path.setAttribute('stroke', '#F8FAFC'); path.setAttribute('stroke-linecap', 'round'); path.setAttribute('stroke-linejoin', 'round'); svg.appendChild(path); clear.appendChild(svg); wrap.appendChild(clear); const mobile = window.matchMedia('(max-width:640px)'); const viewport = window.visualViewport; let spacer = null; let frame = 0; let focusTimer = 0; /* SYNC VISIBILITY DIRECTLY WITH THE INPUT VALUE */ function syncButton(){ const hasText = input.value.length > 0; shell.classList.toggle('bzsf-has-text', hasText); clear.hidden = !hasText; } /* CLEAR SEARCH AND KEEP THE INPUT FOCUSED */ clear.addEventListener('pointerdown', event => { event.preventDefault(); }); clear.addEventListener('click', event => { event.preventDefault(); event.stopPropagation(); input.value = ''; input.focus({ preventScroll:true }); /* RUN FILE 1'S EXISTING SEARCH UPDATE */ input.dispatchEvent( new Event('input', { bubbles:true }) ); syncButton(); }); /* MOBILE SEARCH POSITIONING */ function ensureScrollRoom(){ if (!spacer){ spacer = document.createElement('div'); spacer.setAttribute('aria-hidden', 'true'); spacer.style.cssText = 'display:block;width:1px;pointer-events:none;'; document.body.appendChild(spacer); } spacer.style.height = Math.max( window.innerHeight, viewport ? viewport.height : 0 ) + 'px'; } function raiseSearch(){ if ( !mobile.matches || document.activeElement !== input ){ return; } ensureScrollRoom(); cancelAnimationFrame(frame); frame = requestAnimationFrame(() => { if ( !mobile.matches || document.activeElement !== input ){ return; } const viewportOffset = viewport ? viewport.offsetTop : 0; const currentTop = wrap.getBoundingClientRect().top; window.scrollTo({ top:Math.max( 0, window.scrollY + currentTop - viewportOffset - 32 ), behavior:'instant' }); }); } function releaseScrollRoom(){ clearTimeout(focusTimer); cancelAnimationFrame(frame); if (spacer){ spacer.remove(); spacer = null; } } function syncAfterEvent(){ queueMicrotask(syncButton); } input.addEventListener('input', syncButton); input.addEventListener('search', syncButton); input.addEventListener('change', syncButton); input.addEventListener('focus', () => { syncButton(); raiseSearch(); clearTimeout(focusTimer); focusTimer = window.setTimeout(raiseSearch, 350); }); input.addEventListener('blur', releaseScrollRoom); if (viewport){ viewport.addEventListener('resize', raiseSearch); } window.addEventListener('resize', () => { if (mobile.matches){ raiseSearch(); } else { releaseScrollRoom(); } }); document.addEventListener('pointerdown', syncAfterEvent); shell.addEventListener('click', syncAfterEvent); window.addEventListener('pageshow', syncButton); syncButton(); return true; } /* SUPPORT EMBEDS LOADING IN DIFFERENT ORDERS */ if (!start()){ const observer = new MutationObserver(() => { if (start()){ observer.disconnect(); } }); observer.observe(document.documentElement, { childList:true, subtree:true }); } })();
👋 Welcome!
Next Money Move: "A. Time vs Money Optimizer"
Momentum beats motivation.
💰 Your Savings Found:
$0
*Estimate from your completed AI scripts
Recent Win: —
Small wins compound fast.
⚡ Your Progress:
0 of 37
Smart money moves completed.
Start your journey to healthier finances today.
🔥 Your Current Streak:
1 day
Personal Best: 1 day streak!
(function(){ function updateGreetingsButton(){ document.querySelectorAll( '.bz-card-greetings .bz-greetings-insight-pill' ).forEach(function(button){ if(button.classList.contains('bz-greetings-complete')) return; var label = 'Try the next AI script'; var arrow = '➡️'; if( button.textContent.trim() === label + ' ' + arrow ) return; var text = document.createElement('span'); text.textContent = label; var icon = document.createElement('span'); icon.className = 'bz-greetings-arrow'; icon.textContent = arrow; icon.setAttribute('aria-hidden','true'); button.replaceChildren( text, document.createTextNode(' '), icon ); }); } function init(){ updateGreetingsButton(); var observer = new MutationObserver(updateGreetingsButton); observer.observe(document.body,{ childList:true, subtree:true, characterData:true }); } if(document.readyState === 'loading'){ document.addEventListener('DOMContentLoaded',init,{once:true}); }else{ init(); } })();
(function(){ var STORAGE_KEY = "bz_category_progress_v1"; var LAST_SEEN_SAVINGS_KEY = "bz_last_seen_savings_v1"; var LAST_NONZERO_GAIN_KEY = "bz_last_nonzero_gain_v1"; var PREV_COMPLETED_IDS_KEY = "bz_prev_completed_ids_v1"; var LAST_UNLOCKED_SCRIPT_KEY = "bz_last_unlocked_script_v1"; var SCRIPT_SAVINGS_VALUES_KEY = "bz_script_savings_values_v2"; var CATEGORY_KEYS = [ "money_wins", "spending_leaks", "reality_checks", "debt_fixes", "big_life", "growth_wins", "power_tools" ]; var SCRIPT_SAVINGS_RANGES = { time:{min:100,max:800}, smart:{min:300,max:1500}, budget:{min:200,max:2000}, finance:{min:50,max:500}, money:{min:100,max:1000}, goal:{min:200,max:2500}, lifestyle:{min:200,max:500}, habit:{min:75,max:150}, convenience:{min:120,max:240}, large:{min:100,max:200}, impulse:{min:80,max:160}, switch:{min:40,max:120}, overdraft:{min:35,max:100}, takehome:{min:100,max:200}, paycheck:{min:250,max:600}, taxes:{min:150,max:400}, raise:{min:1200,max:4000}, trip:{min:150,max:400}, savings:{min:200,max:600}, hobby:{min:75,max:200}, emergency:{min:300,max:800}, interest:{min:250,max:1000}, credit:{min:400,max:1200}, student:{min:600,max:2000}, insurance:{min:350,max:1000}, hospital:{min:800,max:3000}, car:{min:2500,max:8000}, house:{min:6000,max:20000}, rent:{min:600,max:1800}, job:{min:3000,max:10000}, salary:{min:2500,max:12000}, index:{min:500,max:2000}, score:{min:400,max:1200}, match:{min:1500,max:5000}, retire:{min:2000,max:10000}, inheritance:{min:1000,max:5000}, degree:{min:5000,max:25000}, deal:{min:25,max:150}, compare:{min:50,max:250}, test:{min:0,max:200}, check:{min:0,max:100}, forecast:{min:0,max:150}, visual:{min:0,max:120}, stocks:{min:0,max:0} }; var SCRIPT_META = { time:{num:1,name:"Time vs Money Optimizer"}, smart:{num:2,name:"Smart Meal Prepper"}, budget:{num:3,name:"Budget Home Furnisher"}, finance:{num:4,name:"Finance Term Translator"}, money:{num:5,name:"Money Decision Simplifier"}, goal:{num:6,name:"Goal-to-Action Organizer"}, lifestyle:{num:7,name:"Save $500 w/ Lifestyle Tweak"}, habit:{num:8,name:"Invisible Habit Tracker"}, convenience:{num:9,name:"Convenience Tax Auditor"}, large:{num:10,name:"Large Purchases Referee"}, impulse:{num:11,name:"Impulse Buy Chiller (FOMO)"}, switch:{num:12,name:"Switch Internet/Phone Plan"}, overdraft:{num:13,name:"Overdraft Fee Waiver"}, takehome:{num:14,name:"Take-Home Pay Calculator"}, paycheck:{num:15,name:"First Paycheck Protector"}, taxes:{num:16,name:"Income Tax Explainer"}, raise:{num:17,name:"Job Pay Raise Analyzer"}, trip:{num:18,name:"Trip Budget Planner"}, savings:{num:19,name:"Trip Savings Countdown"}, hobby:{num:20,name:"Is My Hobby Worth It?"}, emergency:{num:21,name:"Emergency Fund Builder"}, interest:{num:22,name:"Credit Card Interest Trap"}, credit:{num:23,name:"Credit Card Payoff Plan"}, student:{num:24,name:"Student Loan Strategizer"}, insurance:{num:25,name:"Insurance Plan Decoder"}, hospital:{num:26,name:"Hospital Bill Helper"}, car:{num:27,name:"How Much Car Can I Get?"}, house:{num:28,name:"How Much House Can I Get?"}, rent:{num:29,name:"How Much Rent to Budget?"}, job:{num:30,name:"Job A vs Job B Comparer"}, salary:{num:31,name:"Job Salary Negotiator"}, index:{num:32,name:"Index Fund Starter"}, score:{num:33,name:"Raise My Credit Score Fast"}, match:{num:34,name:"Employer Match Maximizer"}, retire:{num:35,name:"How Much Money to Retire"}, inheritance:{num:36,name:"Inheritance: Invest vs Debt"}, degree:{num:37,name:"Degree ROI Calculator"} deal:{num:38,name:"Good Deal Checker"} compare:{num:39,name:"Compare My Options"} test:{num:40,name:"Stress-Test My Plan"} check:{num:41,name:"Check My Math"} forecast:{num:42,name:"Show Me the Forecast"} visual:{num:43,name:"Visualize My Money"} stocks:{num:44,name:"Stock Market Analyzer"} }; var pulseLoopStarted = false; var watcherStarted = false; /* STORAGE */ function readStore(){ try{ return JSON.parse( localStorage.getItem(STORAGE_KEY) ) || {}; }catch(e){ return {}; } } function readNumber(key,fallback){ try{ var v = parseInt( localStorage.getItem(key), 10 ); return isNaN(v) ? fallback : v; }catch(e){ return fallback; } } function writeNumber(key,value){ try{ localStorage.setItem( key, String(value) ); }catch(e){} } function readString(key,fallback){ try{ var v = localStorage.getItem(key); return v === null ? fallback : v; }catch(e){ return fallback; } } function writeString(key,value){ try{ localStorage.setItem( key, String(value) ); }catch(e){} } function readJSON(key,fallback){ try{ var raw = localStorage.getItem(key); return raw ? JSON.parse(raw) : fallback; }catch(e){ return fallback; } } function writeJSON(key,value){ try{ localStorage.setItem( key, JSON.stringify(value) ); }catch(e){} } /* MONEY FORMATTING */ function formatMoney(n){ try{ return n.toLocaleString("en-US"); }catch(e){ return String(n); } } function formatMoneyCompact(n){ if(n < 1000){ return formatMoney(n); } var v = n / 1000; return v % 1 === 0 ? v + "k" : v.toFixed(1).replace(/\.0$/,"") + "k"; } /* COMPLETED SCRIPTS */ function getCompletedScripts(store){ var seen = {}; var out = []; CATEGORY_KEYS.forEach(function(category){ var state = store[category]; if(!state) return; Object.keys(state).forEach(function(scriptId){ if( state[scriptId] === true && !seen[scriptId] && SCRIPT_META[scriptId] ){ seen[scriptId] = true; out.push({ id:scriptId, num:SCRIPT_META[scriptId].num, label:SCRIPT_META[scriptId].label || null, name:SCRIPT_META[scriptId].name }); } }); }); out.sort(function(a,b){ return a.num - b.num; }); return out; } function getCompletedCount(store){ return getCompletedScripts(store).length; } /* SAVINGS VALUES */ function getSavingsValueStore(){ return readJSON( SCRIPT_SAVINGS_VALUES_KEY, {} ); } function saveSavingsValueStore(obj){ writeJSON( SCRIPT_SAVINGS_VALUES_KEY, obj ); } function roundToStep(value,step){ return Math.round( value / step ) * step; } function clamp(value,min,max){ return Math.max( min, Math.min(max,value) ); } function getStepForRange(range){ var max = range.max; if(max >= 10000){ return Math.random() < 0.5 ? 50 : 100; } if(max >= 1000){ return 50; } if(max >= 100){ return Math.random() < 0.5 ? 5 : 10; } return 5; } function generateSavingsValue(scriptId){ var range = SCRIPT_SAVINGS_RANGES[scriptId]; if(!range){ return 0; } var step = getStepForRange(range); var raw = Math.random() * (range.max - range.min) + range.min; var rounded = roundToStep( raw, step ); return clamp( rounded, range.min, range.max ); } /* ASSIGN SAVINGS TO COMPLETED SCRIPTS */ function ensureSavingsValuesForCompleted(store){ var completed = getCompletedScripts(store); var valueStore = getSavingsValueStore(); var changed = false; completed.forEach(function(item){ if( typeof valueStore[item.id] !== "number" || isNaN(valueStore[item.id]) ){ valueStore[item.id] = generateSavingsValue(item.id); changed = true; } }); if(changed){ saveSavingsValueStore( valueStore ); } return valueStore; } function getTotalSavings(store){ var completed = getCompletedScripts(store); var valueStore = ensureSavingsValuesForCompleted(store); var total = 0; completed.forEach(function(item){ total += valueStore[item.id] || 0; }); return total; } /* RECENT WIN */ function updateLastUnlocked(store){ var completed = getCompletedScripts(store); var currentIds = completed.map(function(item){ return item.id; }); var prevIds = readJSON( PREV_COMPLETED_IDS_KEY, null ); var savedLastUnlockedId = readString( LAST_UNLOCKED_SCRIPT_KEY, "" ); /* First initialization */ if(!prevIds){ writeJSON( PREV_COMPLETED_IDS_KEY, currentIds ); if( !savedLastUnlockedId && completed.length ){ var fallback = completed[ completed.length - 1 ].id; writeString( LAST_UNLOCKED_SCRIPT_KEY, fallback ); return fallback; } return savedLastUnlockedId; } /* Find scripts that appeared since the previous render */ var prevMap = {}; prevIds.forEach(function(id){ prevMap[id] = true; }); var newlyAdded = completed.filter(function(item){ return !prevMap[item.id]; }); if(newlyAdded.length){ newlyAdded.sort(function(a,b){ return a.num - b.num; }); var newest = newlyAdded[ newlyAdded.length - 1 ].id; writeString( LAST_UNLOCKED_SCRIPT_KEY, newest ); writeJSON( PREV_COMPLETED_IDS_KEY, currentIds ); return newest; } /* Keep stored list synchronized */ writeJSON( PREV_COMPLETED_IDS_KEY, currentIds ); return savedLastUnlockedId; } /* SAVINGS NUMBER ANIMATION */ function animateMoney( node, startValue, endValue, duration ){ if(!node) return; if(startValue === endValue){ node.textContent = "$" + formatMoney(endValue); return; } var startTime = null; function step(timestamp){ if(!startTime){ startTime = timestamp; } var progress = Math.min( (timestamp - startTime) / duration, 1 ); var eased = 1 - Math.pow( 1 - progress, 3 ); var current = Math.round( startValue + (endValue - startValue) * eased ); node.textContent = "$" + formatMoney(current); if(progress < 1){ requestAnimationFrame(step); } } requestAnimationFrame(step); } /* +$ GAIN BADGE */ function refreshGainBadge( node, text, isPositive ){ if(!node) return; node.classList.remove( "bz-gain-refresh" ); node.classList.remove( "bz-gain-positive" ); /* Force animation restart */ void node.offsetWidth; node.textContent = text; node.classList.add( "bz-gain-refresh" ); if(isPositive){ node.classList.add( "bz-gain-positive" ); setTimeout(function(){ node.classList.remove( "bz-gain-positive" ); },1200); } } /* RENDER */ function renderSavingsCard(){ var card = document.getElementById( "bz-card-savings-module" ); if(!card){ return; } var savingsNode = document.getElementById( "bz-dash-savings" ); var gainNode = document.getElementById( "bz-dash-savings-gain" ); var lastNode = document.getElementById( "bz-dash-last-unlocked" ); if( !savingsNode || !gainNode || !lastNode ){ return; } /* Read exactly the same progress store used by the category cards */ var store = readStore(); var totalSavings = getTotalSavings(store); getCompletedCount(store); /* Main savings number */ var oldRendered = parseInt( savingsNode.getAttribute( "data-last-saved" ) || "0", 10 ); if(isNaN(oldRendered)){ oldRendered = 0; } animateMoney( savingsNode, oldRendered, totalSavings, 500 ); savingsNode.setAttribute( "data-last-saved", String(totalSavings) ); savingsNode.setAttribute( "data-target-saved", String(totalSavings) ); /* Latest savings increase */ var lastSeen = readNumber( LAST_SEEN_SAVINGS_KEY, -1 ); var lastNonZero = readNumber( LAST_NONZERO_GAIN_KEY, 0 ); var gain = 0; var displayGain = 0; if(lastSeen === -1){ writeNumber( LAST_SEEN_SAVINGS_KEY, totalSavings ); } else if( totalSavings > lastSeen ){ gain = totalSavings - lastSeen; writeNumber( LAST_SEEN_SAVINGS_KEY, totalSavings ); if(gain > 0){ writeNumber( LAST_NONZERO_GAIN_KEY, gain ); displayGain = gain; } } else{ writeNumber( LAST_SEEN_SAVINGS_KEY, totalSavings ); } if(displayGain === 0){ displayGain = lastNonZero > 0 ? lastNonZero : 0; } refreshGainBadge( gainNode, "+$" + formatMoneyCompact( displayGain ), gain > 0 ); /* Recent Win */ var lastUnlockedId = updateLastUnlocked(store); if( lastUnlockedId && SCRIPT_META[lastUnlockedId] ){ var recentScript = SCRIPT_META[lastUnlockedId]; var recentLabel = recentScript.label || recentScript.num; lastNode.innerHTML = 'Recent Win: ' + '' + '"' + recentLabel + '. ' + recentScript.name + '"' + ''; } else{ lastNode.textContent = "Recent Win: —"; } } /* SUBTLE NUMBER PULSE */ function startPulseLoop(){ if(pulseLoopStarted){ return; } pulseLoopStarted = true; setInterval(function(){ var savingsNode = document.getElementById( "bz-dash-savings" ); if(!savingsNode){ return; } var target = parseInt( savingsNode.getAttribute( "data-target-saved" ) || "0", 10 ); if(isNaN(target)){ target = 0; } if(target <= 0){ return; } var bump = Math.max( 1, Math.round( Math.max(target,50) * 0.012 ) ); var temp = target + bump; animateMoney( savingsNode, target, temp, 350 ); setTimeout(function(){ animateMoney( savingsNode, temp, target, 450 ); },360); },8500); } /* WATCH FOR PROGRESS CHANGES */ function startWatcher(){ if(watcherStarted){ return; } watcherStarted = true; /* The category progress data can change while the dashboard remains open. Check frequently so Savings follows it. */ setInterval(function(){ renderSavingsCard(); },1500); } /* BOOT */ function boot(){ if( !document.getElementById( "bz-card-savings-module" ) ){ return false; } renderSavingsCard(); startPulseLoop(); startWatcher(); return true; } /* Carrd elements may mount slightly after the script. */ if(!boot()){ var tries = 0; var timer = setInterval(function(){ tries++; if( boot() || tries > 40 ){ clearInterval(timer); } },250); } /* STORAGE CHANGE */ window.addEventListener( "storage", function(e){ if( e.key === STORAGE_KEY ){ renderSavingsCard(); } } ); /* RETURNING TO PAGE */ document.addEventListener( "visibilitychange", function(){ if(!document.hidden){ renderSavingsCard(); } } ); window.addEventListener( "focus", function(){ renderSavingsCard(); } ); window.addEventListener( "pageshow", function(){ renderSavingsCard(); } ); })();
(function(){ function movePopup(){ var overlay=document.getElementById( "bz-dash-completed-overlay" ); if(!document.body || !overlay) return false; if(overlay.parentNode!==document.body){ document.body.appendChild(overlay); } return true; } if(movePopup()) return; var observer=new MutationObserver(function(){ if(movePopup()){ observer.disconnect(); } }); observer.observe(document.documentElement,{ childList:true, subtree:true }); })();
(function(){ var VISIT_KEY = "bz_visit_days_v1"; var BEST_STREAK_KEY = "bz_best_streak_v1"; var ONE_DAY_AFFIRMATION = "One day at a time will win."; function getUserTimeZone(){ try{ return Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC"; }catch(e){ return "UTC"; } } var APP_TIME_ZONE = getUserTimeZone(); var STREAK_AFFIRMATIONS = [ "Momentum beats motivation.", "Any progress is real progress.", "Keep your eyes locked on target.", "Keep stacking days like paper.", "Perseverance is the key to success.", "A tiny streak is still a streak.", "This is how better habits form.", "You’re moving toward something big.", "Slow and steady...wins the race." ]; var streakAffirmTimer = null; var streakAffirmIndex = 0; var streakAffirmStarted = false; function ensureStreakAnimStyles(){ if(document.getElementById("bz-streak-inline-anim-styles")) return; var style = document.createElement("style"); style.id = "bz-streak-inline-anim-styles"; style.textContent = [ "@keyframes bzStreakRangeShimmer{", "0%{box-shadow:inset 0 0 0 rgba(255,255,255,0), 0 0 0 rgba(0,0,0,0);}", "50%{box-shadow:inset 0 0 0 rgba(255,255,255,0), 0 0 10px rgba(249,115,22,.10);}", "100%{box-shadow:inset 0 0 0 rgba(255,255,255,0), 0 0 0 rgba(0,0,0,0);}", "}", "@keyframes bzTodayDotPulse{", "0%,100%{transform:scale(1);opacity:1;}", "50%{transform:scale(1.28);opacity:.82;}", "}" ].join(""); document.head.appendChild(style); } function formatYMDInTZ(date, timeZone){ var parts = new Intl.DateTimeFormat("en-CA", { timeZone: timeZone, year: "numeric", month: "2-digit", day: "2-digit" }).formatToParts(date); var out = {}; parts.forEach(function(part){ if(part.type !== "literal") out[part.type] = part.value; }); return out.year + "-" + out.month + "-" + out.day; } function todayStr(){ return formatYMDInTZ(new Date(), APP_TIME_ZONE); } function readVisits(){ try{ var parsed = JSON.parse(localStorage.getItem(VISIT_KEY)); if(parsed && Array.isArray(parsed.days)) return parsed.days; if(Array.isArray(parsed)) return parsed; return []; }catch(e){ return []; } } function writeVisits(days){ try{ localStorage.setItem(VISIT_KEY, JSON.stringify({days: days})); }catch(e){} } function readBestStreak(){ try{ var value = parseInt(localStorage.getItem(BEST_STREAK_KEY) || "", 10); return isNaN(value) || value < 1 ? 1 : value; }catch(e){ return 1; } } function writeBestStreak(value){ try{ localStorage.setItem(BEST_STREAK_KEY, String(value)); }catch(e){} } function updateBestStreak(streakDays){ var best = readBestStreak(); if(streakDays > best){ best = streakDays; writeBestStreak(best); } return best; } function renderBestStreak(bestDays){ var node = document.getElementById("bz-streak-best"); if(!node) return; /* OBJECT A — static label */ var objectA = document.createElement("span"); objectA.id = "bz-streak-object-a"; objectA.className = "bz-streak-best-label"; objectA.textContent = "Personal Best: "; objectA.style.setProperty("font-weight", "400", "important"); /* OBJECT B — dynamic streak value */ var objectB = document.createElement("span"); objectB.id = "bz-streak-object-b"; objectB.className = "bz-streak-best-value"; objectB.textContent = bestDays + " day streak!"; objectB.style.setProperty("font-weight", "700", "important"); node.innerHTML = ""; node.appendChild(objectA); node.appendChild(objectB); } function uniqueSortedDays(days){ var seen = {}; var out = []; days.forEach(function(day){ if(typeof day === "string" && !seen[day]){ seen[day] = true; out.push(day); } }); out.sort(); return out; } function updateVisits(){ var visits = uniqueSortedDays(readVisits()); var today = todayStr(); if(visits.indexOf(today) === -1){ visits.push(today); visits = uniqueSortedDays(visits); writeVisits(visits); } return visits; } function getStreakDays(visits){ if(!visits.length) return 1; var streak = 1; for(var i = visits.length - 1; i > 0; i--){ var current = new Date(visits[i] + "T00:00:00"); var previous = new Date(visits[i - 1] + "T00:00:00"); var diff = Math.round((current - previous) / 86400000); if(diff === 1){ streak++; }else{ break; } } return streak; } function getStreakStartDate(visits, streakDays){ if(!visits.length || streakDays <= 0) return null; return visits[visits.length - streakDays]; } function formatDateParts(dateStr){ var d = new Date(dateStr + "T12:00:00"); return { month: d.toLocaleString("en-US", { month: "short", timeZone: APP_TIME_ZONE }).toUpperCase(), monthLong: d.toLocaleString("en-US", { month: "long", timeZone: APP_TIME_ZONE }), weekday: d.toLocaleString("en-US", { weekday: "short", timeZone: APP_TIME_ZONE }).toUpperCase(), year: Number(dateStr.slice(0,4)), day: Number(dateStr.slice(8,10)) }; } function renderDateBox(today){ var parts = formatDateParts(today); var monthNode = document.getElementById("bz-date-month"); var dayNode = document.getElementById("bz-date-day"); var weekdayNode = document.getElementById("bz-date-weekday"); if(monthNode) monthNode.textContent = parts.month; if(dayNode) dayNode.textContent = String(parts.day); if(weekdayNode) weekdayNode.textContent = parts.weekday; } function renderStreakValue(streakDays){ var node = document.getElementById("bz-dash-streak"); if(!node) return; node.textContent = streakDays === 1 ? "1 day" : streakDays + " days"; } function openOverlay(){ var overlay = document.getElementById("bz-streak-overlay"); if(!overlay) return; overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); } function closeOverlay(){ var overlay = document.getElementById("bz-streak-overlay"); if(!overlay) return; overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); } function makeCell(text, styles){ var div = document.createElement("div"); div.textContent = text; for(var key in styles){ div.style[key] = styles[key]; } return div; } function renderCalendar(streakDays, streakStart, today){ var infoNode = document.getElementById("bz-streak-info"); var monthLabelNode = document.getElementById("bz-streak-month-label"); var gridNode = document.getElementById("bz-streak-calendar-grid"); if(!infoNode || !monthLabelNode || !gridNode) return; ensureStreakAnimStyles(); var todayDate = new Date(today + "T00:00:00"); var year = todayDate.getFullYear(); var month = todayDate.getMonth(); var monthText = formatDateParts(today).monthLong + " " + year; var firstOfMonth = new Date(year, month, 1); var firstDayStr = formatYMDInTZ(firstOfMonth, APP_TIME_ZONE); var startedPreviousMonth = streakStart && streakStart < firstDayStr && streakDays > 1; infoNode.textContent = monthText; monthLabelNode.innerHTML = streakDays === 1 ? "1 day streak" : streakDays + " day streak"; gridNode.innerHTML = ""; var wrap = document.createElement("div"); wrap.style.display = "grid"; wrap.style.gridTemplateColumns = "repeat(7,1fr)"; wrap.style.gap = "6px"; wrap.style.width = "100%"; var weekdayLabels = ["SUN","MON","TUE","WED","THU","FRI","SAT"]; weekdayLabels.forEach(function(label){ wrap.appendChild(makeCell(label, { textAlign: "center", fontSize: "10px", fontWeight: "700", paddingBottom: "4px", letterSpacing: ".04em", opacity: ".7" })); }); var startWeekday = firstOfMonth.getDay(); var lastOfMonth = new Date(year, month + 1, 0); var daysInMonth = lastOfMonth.getDate(); for(var blank = 0; blank < startWeekday; blank++){ wrap.appendChild(document.createElement("div")); } for(var day = 1; day <= daysInMonth; day++){ var current = new Date(year, month, day); var currentStr = formatYMDInTZ(current, APP_TIME_ZONE); var isToday = currentStr === today; var isStart = streakStart && currentStr === streakStart; var inRange = false; if(streakDays === 1){ inRange = isToday; }else if(streakStart){ var effectiveStart = streakStart < firstDayStr ? firstDayStr : streakStart; inRange = currentStr >= effectiveStart && currentStr <= today; } var cell = document.createElement("div"); cell.textContent = day; cell.style.height = "36px"; cell.style.borderRadius = "10px"; cell.style.display = "flex"; cell.style.alignItems = "center"; cell.style.justifyContent = "center"; cell.style.fontSize = "12px"; cell.style.fontWeight = "700"; cell.style.position = "relative"; cell.style.boxSizing = "border-box"; cell.style.color = "#0F172A"; cell.style.border = "1px solid #E2E8F0"; cell.style.background = "#FFFFFF"; var ORANGE = "#F97316"; var DARK = "#111827"; if(inRange){ cell.style.background = "rgba(255,237,213,.95)"; cell.style.border = "1px solid #FDBA74"; cell.style.animation = "bzStreakRangeShimmer 3.2s ease-in-out infinite"; } if(isToday || isStart){ cell.style.background = ORANGE; cell.style.color = "#FFFFFF"; cell.style.animation = "none"; } if(isToday){ cell.style.border = "1px solid " + DARK; cell.style.boxShadow = "0 0 0 2px rgba(17,24,39,.08)"; } if(isStart && !isToday && streakDays > 1){ cell.style.border = "2px dotted " + DARK; } if(isToday){ var dot = document.createElement("div"); dot.style.position = "absolute"; dot.style.bottom = "3px"; dot.style.width = "4px"; dot.style.height = "4px"; dot.style.borderRadius = "999px"; dot.style.background = "#FFFFFF"; dot.style.animation = "bzTodayDotPulse 1.8s ease-in-out infinite"; cell.appendChild(dot); } wrap.appendChild(cell); } gridNode.appendChild(wrap); var legend = document.createElement("div"); legend.style.display = "flex"; legend.style.justifyContent = "center"; legend.style.gap = "14px"; legend.style.flexWrap = "wrap"; legend.style.marginTop = "14px"; function addLegendDot(label, styles){ var item = document.createElement("div"); item.className = "bz-streak-legend-item"; item.style.display = "flex"; item.style.alignItems = "center"; item.style.gap = "6px"; item.style.fontSize = "11px"; item.style.fontWeight = "600"; var dot = document.createElement("span"); dot.style.display = "inline-block"; dot.style.width = "10px"; dot.style.height = "10px"; for(var key in styles){ dot.style[key] = styles[key]; } var text = document.createElement("span"); text.textContent = label; item.appendChild(dot); item.appendChild(text); legend.appendChild(item); } if(streakDays === 1){ addLegendDot("Today", { borderRadius: "999px", background: "#F97316", border: "1px solid #111827", boxSizing: "border-box" }); }else{ if(streakStart && streakStart >= firstDayStr){ addLegendDot("Start Date", { borderRadius: "2px", background: "#F97316", border: "2px dotted #111827", boxSizing: "border-box" }); } addLegendDot("Today", { borderRadius: "999px", background: "#F97316", border: "1px solid #111827", boxSizing: "border-box" }); addLegendDot("Streak", { borderRadius: "999px", background: "rgba(255,237,213,.95)", border: "1px solid #FDBA74", boxSizing: "border-box" }); } gridNode.appendChild(legend); } function wirePopup(){ var btn = document.getElementById("bz-streak-date-btn"); var overlay = document.getElementById("bz-streak-overlay"); var pop = document.getElementById("bz-streak-pop"); var closeBtn = document.getElementById("bz-streak-close"); if(btn && btn.getAttribute("data-wired") !== "1"){ btn.setAttribute("data-wired", "1"); btn.addEventListener("click", function(){ var visits = updateVisits(); var today = todayStr(); var streakDays = getStreakDays(visits); var bestDays = updateBestStreak(streakDays); var streakStart = getStreakStartDate(visits, streakDays); renderCalendar(streakDays, streakStart, today); openOverlay(); }); btn.addEventListener("keydown", function(e){ if(e.key === "Enter" || e.key === " "){ e.preventDefault(); var visits = updateVisits(); var today = todayStr(); var streakDays = getStreakDays(visits); var streakStart = getStreakStartDate(visits, streakDays); renderCalendar(streakDays, streakStart, today); openOverlay(); } }); } if(closeBtn && closeBtn.getAttribute("data-wired") !== "1"){ closeBtn.setAttribute("data-wired", "1"); closeBtn.addEventListener("click", function(){ closeOverlay(); }); } if(overlay && overlay.getAttribute("data-wired") !== "1"){ overlay.setAttribute("data-wired", "1"); overlay.addEventListener("click", function(e){ if(e.target === overlay){ closeOverlay(); } }); } if(pop && pop.getAttribute("data-wired") !== "1"){ pop.setAttribute("data-wired", "1"); pop.addEventListener("click", function(e){ e.stopPropagation(); }); } } function getRandomDelay(){ return Math.floor(Math.random() * 15001) + 10000; } function fadeTextSwap(node, nextText){ if(!node) return; node.classList.add("bz-affirm-fade"); node.classList.add("bz-changing"); setTimeout(function(){ node.textContent = nextText; node.classList.remove("bz-changing"); }, 180); } function stopStreakAffirmations(){ if(streakAffirmTimer){ clearTimeout(streakAffirmTimer); streakAffirmTimer = null; } streakAffirmStarted = false; } function startStreakAffirmations(){ var node = document.getElementById("bz-streak-affirmation"); if(!node) return; var visits = updateVisits(); var streakDays = getStreakDays(visits); if(streakDays === 1){ stopStreakAffirmations(); node.classList.add("bz-affirm-fade"); node.textContent = ONE_DAY_AFFIRMATION; return; } if(streakAffirmStarted) return; streakAffirmStarted = true; node.classList.add("bz-affirm-fade"); if(!STREAK_AFFIRMATIONS.length) return; if(STREAK_AFFIRMATIONS.indexOf(node.textContent) === -1){ streakAffirmIndex = 0; node.textContent = STREAK_AFFIRMATIONS[0]; }else{ streakAffirmIndex = STREAK_AFFIRMATIONS.indexOf(node.textContent); } function scheduleNext(){ streakAffirmTimer = setTimeout(function(){ var latestVisits = updateVisits(); var latestStreakDays = getStreakDays(latestVisits); if(latestStreakDays === 1){ stopStreakAffirmations(); node.textContent = ONE_DAY_AFFIRMATION; return; } streakAffirmIndex = (streakAffirmIndex + 1) % STREAK_AFFIRMATIONS.length; fadeTextSwap(node, STREAK_AFFIRMATIONS[streakAffirmIndex]); scheduleNext(); }, getRandomDelay()); } scheduleNext(); } function refreshStreakCard(){ var card = document.getElementById("bz-card-streak-module"); if(!card) return; var visits = updateVisits(); var today = todayStr(); var streakDays = getStreakDays(visits); var bestDays = updateBestStreak(streakDays); var streakStart = getStreakStartDate(visits, streakDays); var affirmNode = document.getElementById("bz-streak-affirmation"); renderDateBox(today); renderStreakValue(streakDays); renderBestStreak(bestDays); renderCalendar(streakDays, streakStart, today); wirePopup(); if(affirmNode){ if(streakDays === 1){ affirmNode.textContent = ONE_DAY_AFFIRMATION; stopStreakAffirmations(); }else{ if(!affirmNode.textContent || affirmNode.textContent === ONE_DAY_AFFIRMATION){ streakAffirmIndex = 0; affirmNode.textContent = STREAK_AFFIRMATIONS[0]; } startStreakAffirmations(); } } } function boot(){ refreshStreakCard(); } boot(); window.addEventListener("storage", function(e){ if(e.key === VISIT_KEY){ refreshStreakCard(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshStreakCard(); } }); document.addEventListener("keydown", function(e){ if(e.key === "Escape"){ closeOverlay(); } }); })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Everyday Money Wins

Turn everyday situations into simple, clear decisions. These scripts help you think faster, act sooner, and get quick wins across time, money, and life.

⚡ Your Progress:
0/6
Smart money moves completed.
Start your everyday money wins today.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "money_wins"; var TOTAL = 6; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { time:{ num:1, emoji:"⏳", name:"Time vs Money Optimizer", description:"Compare cash costs, time, stress, and quality." }, smart:{ num:2, emoji:"🍱", name:"Smart Meal Prepper", description:"Build an affordable meal plan and shopping list." }, budget:{ num:3, emoji:"📦", name:"Budget Home Furnisher", description:"Furnish your space within your budget and timeline." }, finance:{ num:4, emoji:"📖", name:"Finance Term Translator", description:"Understand financial jargon through plain language and examples." }, money:{ num:5, emoji:"🎯", name:"Money Decision Simplifier", description:"Weigh your choices against your budget and priorities." }, goal:{ num:6, emoji:"🚀", name:"Goal-to-Action Organizer", description:"Turn a financial goal into manageable next steps." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-everyday-empty"; empty.textContent = "No everyday money wins completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-everyday-completed-list-wrap"; items.forEach(function(item){ /* Plain div: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-everyday-completed-row"; var title = document.createElement("div"); title.className = "bz-everyday-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-everyday-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-everyday-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-everyday-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-everyday"); var fill = document.getElementById("bz-everyday-mini-progress-fill"); var progressBar = document.getElementById("bz-everyday-mini-progress"); var progressValue = document.getElementById("bz-everyday-progress-value"); var progressSub = document.getElementById("bz-everyday-progress-sub"); var dayline = document.getElementById("bz-everyday-dayline"); var viewBtn = document.getElementById("bz-everyday-view-btn"); var celebrateBtn = document.getElementById("bz-everyday-celebrate-btn"); var overlay = document.getElementById("bz-everyday-completed-overlay"); var pop = document.getElementById("bz-everyday-completed-pop"); var list = document.getElementById("bz-everyday-completed-list"); var count = document.getElementById("bz-everyday-completed-count"); var closeBtn = document.getElementById("bz-everyday-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.everydayReady === "true"){ return true; } root.dataset.everydayReady = "true"; function refreshEverydayProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty("--bz-shimmer-duration", duration); root.style.setProperty("--bz-mobile-shimmer-duration", duration); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your everyday money wins today."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. Everyday wins like this add up fast."; }else{ dayline.textContent = "✔ Script #" + done + " of your everyday money wins done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshEverydayProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshEverydayProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshEverydayProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshEverydayProgress(); } }); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Spending & Money Leaks

Find the ways money quietly slips away and fix them fast. These scripts help you lower bills, cut unnecessary spending, and keep more of what you earn without extreme budgeting.

⚡ Your Progress:
0 of 7
Smart money moves completed.
Start your spending reset today.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "spending_leaks"; var TOTAL = 7; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { lifestyle:{ num:7, emoji:"💸", name:"Save $500 w/ Lifestyle Tweaks", description:"Find practical spending changes that could free up money." }, habit:{ num:8, emoji:"☕", name:"Invisible Habit Tracker", description:"See how small, recurring purchases add up over time." }, convenience:{ num:9, emoji:"🍕", name:"Convenience Tax Auditor", description:"Measure the extra cost of delivery and other conveniences." }, large:{ num:10, emoji:"🧮", name:"Large Purchases Referee", description:"Check a major purchase against its cost, usefulness, and alternatives." }, impulse:{ num:11, emoji:"⏸️", name:"Impulse Buy Chiller (FOMO)", description:"Pause an impulse purchase and assess whether you need it." }, switch:{ num:12, emoji:"💸", name:"Switch Internet/Phone Plan", description:"Explore cheaper plans and ways to negotiate your bill." }, overdraft:{ num:13, emoji:"💸", name:"Overdraft Fee Waiver", description:"Prepare a clear request to reverse an overdraft charge." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-spending-empty"; empty.textContent = "No money moves completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-spending-completed-list-wrap"; items.forEach(function(item){ /* Plain text row: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-spending-completed-row"; var title = document.createElement("div"); title.className = "bz-spending-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-spending-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-spending-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-spending-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-spending"); var fill = document.getElementById("bz-spending-mini-progress-fill"); var progressBar = document.getElementById("bz-spending-mini-progress"); var progressValue = document.getElementById("bz-spending-progress-value"); var progressSub = document.getElementById("bz-spending-progress-sub"); var dayline = document.getElementById("bz-spending-dayline"); var viewBtn = document.getElementById("bz-spending-view-btn"); var celebrateBtn = document.getElementById("bz-spending-celebrate-btn"); var overlay = document.getElementById("bz-spending-completed-overlay"); var pop = document.getElementById("bz-spending-completed-pop"); var list = document.getElementById("bz-spending-completed-list"); var count = document.getElementById("bz-spending-completed-count"); var closeBtn = document.getElementById("bz-spending-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.spendingReady === "true"){ return true; } root.dataset.spendingReady = "true"; function refreshSpendingProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty("--bz-shimmer-duration", duration); root.style.setProperty("--bz-mobile-shimmer-duration", duration); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your spending reset today."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. Quiet wins like this add up fast."; }else{ dayline.textContent = "✔ Script #" + done + " of your spending reset done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshSpendingProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshSpendingProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshSpendingProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshSpendingProgress(); } }); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Financial Reality Check

Understand how money actually works. These scripts explain things like taxes, paychecks, and financial basics in plain English so you can make smarter decisions with confidence.

⚡ Your Progress:
0 of 7
Smart money moves completed.
Start your financial reality check today.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "reality_checks"; var TOTAL = 7; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { takehome:{ num:14, emoji:"🧾", name:"Take-Home Pay Calculator", description:"Estimate what remains after taxes and payroll deductions." }, paycheck:{ num:15, emoji:"💼", name:"First Paycheck Protector", description:"Give your first earnings a plan for bills, savings, and spending." }, taxes:{ num:16, emoji:"🧭", name:"Income Tax Explainer", description:"Understand how income taxes apply to your situation." }, raise:{ num:17, emoji:"📈", name:"Job Pay Raise Analyzer", description:"Calculate how much of a raise reaches your pocket." }, trip:{ num:18, emoji:"🧠", name:"Trip Budget Planner", description:"Set a realistic travel budget across major expenses." }, savings:{ num:19, emoji:"📍", name:"Trip Savings Countdown", description:"Work out how much to save before your departure date." }, hobby:{ num:20, emoji:"🎯", name:"Is My Hobby Worth It?", description:"Balance a hobby’s ongoing costs with the value it brings." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-reality-empty"; empty.textContent = "No money moves completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-reality-completed-list-wrap"; items.forEach(function(item){ /* Plain text row: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-reality-completed-row"; var title = document.createElement("div"); title.className = "bz-reality-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-reality-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-reality-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-reality-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-reality"); var fill = document.getElementById("bz-reality-mini-progress-fill"); var progressBar = document.getElementById("bz-reality-mini-progress"); var progressValue = document.getElementById("bz-reality-progress-value"); var progressSub = document.getElementById("bz-reality-progress-sub"); var dayline = document.getElementById("bz-reality-dayline"); var viewBtn = document.getElementById("bz-reality-view-btn"); var celebrateBtn = document.getElementById("bz-reality-celebrate-btn"); var overlay = document.getElementById("bz-reality-completed-overlay"); var pop = document.getElementById("bz-reality-completed-pop"); var list = document.getElementById("bz-reality-completed-list"); var count = document.getElementById("bz-reality-completed-count"); var closeBtn = document.getElementById("bz-reality-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.realityReady === "true"){ return true; } root.dataset.realityReady = "true"; function refreshRealityProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty( "--bz-reality-shimmer-duration", duration ); root.style.setProperty( "--bz-reality-mobile-shimmer-duration", duration ); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your financial reality check today."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. Little decisions like this change the trajectory."; }else{ dayline.textContent = "✔ Script #" + done + " of your financial reality check done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshRealityProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshRealityProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshRealityProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshRealityProgress(); } }); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Debt Fixes & Emergency Funds

Handle financial stress and unexpected bills. These scripts help you negotiate rates, manage debt, and build a safety net so one bad surprise doesn’t knock you off track.

⚡ Your Progress:
0 of 6
Smart money moves completed.
Start your debt cleanup system today.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "debt_fixes"; var TOTAL = 6; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { emergency:{ num:21, emoji:"🛟", name:"Emergency Fund Builder", description:"Choose a cash buffer target and a plan to build it." }, interest:{ num:22, emoji:"⚠️", name:"Credit Card Interest Trap", description:"See how interest and minimum payments prolong repayment." }, credit:{ num:23, emoji:"💳", name:"Credit Card Payoff Plan", description:"Build a repayment schedule that fits your monthly budget." }, student:{ num:24, emoji:"🎓", name:"Student Loan Strategizer", description:"Evaluate repayment options against your income and goals." }, insurance:{ num:25, emoji:"🛡️", name:"Insurance Plan Decoder", description:"Make sense of premiums, deductibles, coverage, and exclusions." }, hospital:{ num:26, emoji:"🛟", name:"Hospital Bill Helper", description:"Explore assistance, billing reviews, and affordable payment options." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-debt-empty"; empty.textContent = "No money moves completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-debt-completed-list-wrap"; items.forEach(function(item){ /* Plain text row: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-debt-completed-row"; var title = document.createElement("div"); title.className = "bz-debt-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-debt-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-debt-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-debt-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-debt"); var fill = document.getElementById("bz-debt-mini-progress-fill"); var progressBar = document.getElementById("bz-debt-mini-progress"); var progressValue = document.getElementById("bz-debt-progress-value"); var progressSub = document.getElementById("bz-debt-progress-sub"); var dayline = document.getElementById("bz-debt-dayline"); var viewBtn = document.getElementById("bz-debt-view-btn"); var celebrateBtn = document.getElementById("bz-debt-celebrate-btn"); var overlay = document.getElementById("bz-debt-completed-overlay"); var pop = document.getElementById("bz-debt-completed-pop"); var list = document.getElementById("bz-debt-completed-list"); var count = document.getElementById("bz-debt-completed-count"); var closeBtn = document.getElementById("bz-debt-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.debtReady === "true"){ return true; } root.dataset.debtReady = "true"; function refreshDebtProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty( "--bz-debt-shimmer-duration", duration ); root.style.setProperty( "--bz-debt-mobile-shimmer-duration", duration ); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your debt cleanup system today."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. This is how control starts to feel normal."; }else{ dayline.textContent = "✔ Script #" + done + " of your debt cleanup system done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshDebtProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshDebtProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshDebtProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshDebtProgress(); } }); /* Close when Menu, Contact, or Share is clicked. Delegation also handles controls inserted later. */ document.addEventListener("click", function(event){ if(!(event.target instanceof Element)) return; if(event.target.closest( "#bz-menu_1 .bz-toggle, #bz-contact-btn, #bz-share-btn" )){ closeOverlay(); } }, true); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Big Financial Decisions

Avoid expensive mistakes. These scripts help you think through major financial decisions like jobs, travel, housing, and large purchases before the money is spent.

⚡ Your Progress:
0 of 5
Smart money moves completed.
Start your big financial decision system today.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "big_life"; var TOTAL = 5; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { car:{ num:27, emoji:"🚗", name:"How Much Car Can I Get?", description:"Estimate a vehicle budget beyond the sticker price." }, house:{ num:28, emoji:"🏠", name:"How Much House Can I Get?", description:"Assess a home price range using your income and ongoing costs." }, rent:{ num:29, emoji:"🔑", name:"How Much Rent to Budget?", description:"Find a rent range that fits your income, expenses, and comfort level." }, job:{ num:30, emoji:"⚖️", name:"Job A vs Job B Comparer", description:"Compare job offers across pay, benefits, commute, and lifestyle." }, salary:{ num:31, emoji:"🧠", name:"Job Salary Negotiator", description:"Prepare a salary request with supporting points and wording." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-big-empty"; empty.textContent = "No money moves completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-big-completed-list-wrap"; items.forEach(function(item){ /* Plain text row: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-big-completed-row"; var title = document.createElement("div"); title.className = "bz-big-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-big-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-big-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-big-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-big"); var fill = document.getElementById("bz-big-mini-progress-fill"); var progressBar = document.getElementById("bz-big-mini-progress"); var progressValue = document.getElementById("bz-big-progress-value"); var progressSub = document.getElementById("bz-big-progress-sub"); var dayline = document.getElementById("bz-big-dayline"); var viewBtn = document.getElementById("bz-big-view-btn"); var celebrateBtn = document.getElementById("bz-big-celebrate-btn"); var overlay = document.getElementById("bz-big-completed-overlay"); var pop = document.getElementById("bz-big-completed-pop"); var list = document.getElementById("bz-big-completed-list"); var count = document.getElementById("bz-big-completed-count"); var closeBtn = document.getElementById("bz-big-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.bigReady === "true"){ return true; } root.dataset.bigReady = "true"; function refreshBigProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty( "--bz-big-shimmer-duration", duration ); root.style.setProperty( "--bz-big-mobile-shimmer-duration", duration ); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your big financial decision system today."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. This is how things start working in your favor."; }else{ dayline.textContent = "✔ Script #" + done + " of your decision system done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshBigProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshBigProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshBigProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshBigProgress(); } }); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Growth & Compounding Wins

Build momentum over time. These scripts focus on investing, credit building, and financial habits that quietly grow your wealth for years to come.

(function(){ "use strict"; function start(){ var popup = document.getElementById("bz-growth-completed-pop"); var overlay = document.getElementById("bz-growth-completed-overlay"); var scroll = document.getElementById("bz-growth-completed-scroll"); var list = document.getElementById("bz-growth-completed-list"); if(!popup || !overlay || !scroll || !list) return false; if(popup.dataset.compactSizing === "true") return true; popup.dataset.compactSizing = "true"; var frame = 0; function fitPopup(){ /* Match the search container's available width when measurable. */ var shell = document.getElementById("bzsf-shell"); var width = 896; if(shell){ var searchStyles = getComputedStyle(shell); var configuredWidth = parseFloat( searchStyles.getPropertyValue("--bzsf-popup-width") ); if(configuredWidth > 0){ width = configuredWidth; } if(shell.clientWidth > 0){ width = Math.min(width, shell.clientWidth); } } var widthValue = width + "px"; if( popup.style.getPropertyValue("--bz-growth-popup-width") !== widthValue ){ popup.style.setProperty( "--bz-growth-popup-width", widthValue ); } if(!overlay.classList.contains("bz-visible")) return; var rows = Array.from( list.querySelectorAll(".bz-growth-completed-row") ).slice(0,3); if(!rows.length){ scroll.style.removeProperty("--bz-growth-three-card-height"); return; } var styles = getComputedStyle(scroll); var wrapStyles = getComputedStyle(rows[0].parentElement); var height = parseFloat(styles.paddingTop) + parseFloat(styles.paddingBottom) + parseFloat(styles.borderTopWidth) + parseFloat(styles.borderBottomWidth); var gap = parseFloat(wrapStyles.rowGap) || 0; rows.forEach(function(row){ height += row.offsetHeight; }); height += gap * (rows.length - 1); var heightValue = Math.ceil(height) + "px"; if( scroll.style.getPropertyValue("--bz-growth-three-card-height") !== heightValue ){ scroll.style.setProperty( "--bz-growth-three-card-height", heightValue ); } } function schedule(){ cancelAnimationFrame(frame); frame = requestAnimationFrame(fitPopup); } /* Recalculate whenever the popup opens or its list changes. */ var observer = new MutationObserver(schedule); observer.observe(overlay,{ attributes:true, attributeFilter:["class"] }); observer.observe(list,{ childList:true, subtree:true, characterData:true }); if(window.ResizeObserver){ var resizeObserver = new ResizeObserver(schedule); resizeObserver.observe(list); var shell = document.getElementById("bzsf-shell"); if(shell) resizeObserver.observe(shell); } window.addEventListener("resize",schedule); if(document.fonts){ document.fonts.ready.then(schedule); } schedule(); return true; } if(!start()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(start() || tries > 30){ window.clearInterval(timer); } },200); } })();
⚡ Your Progress:
0 of 6
Smart money moves completed.
Start your growth and compounding system.
(function(){ "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "growth_wins"; var TOTAL = 6; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { index:{ num:32, emoji:"📍", name:"Index Fund Starter", description:"Learn the basics of choosing funds and starting contributions." }, score:{ num:33, emoji:"🌱", name:"Raise My Credit Score Fast", description:"Identify practical steps to strengthen your credit profile." }, match:{ num:34, emoji:"🎁", name:"Employer Match Maximizer", description:"Work out contributions needed to capture available employer matching." }, retire:{ num:35, emoji:"🏖️", name:"How Much Money to Retire", description:"Estimate a retirement target from your spending and timeline." }, inheritance:{ num:36, emoji:"🪙", name:"Inheritance: Invest vs Debt", description:"Weigh debt repayment against investing a lump sum." }, degree:{ num:37, emoji:"📘", name:"Degree ROI Calculator", description:"Compare education costs with potential earnings and payback time." } }; function readStore(){ try{ var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; }catch(error){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); }catch(error){} } function ensureCategory(store){ var category = store[CATEGORY_KEY]; if( !category || typeof category !== "object" || Array.isArray(category) ){ store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState){ return Object.keys(SCRIPT_META) .filter(function(id){ return categoryState[id] === true; }) .map(function(id){ return SCRIPT_META[id]; }) .sort(function(a,b){ return a.num - b.num; }); } function renderCompletedList(items, listNode){ listNode.textContent = ""; if(!items.length){ var empty = document.createElement("div"); empty.className = "bz-growth-empty"; empty.textContent = "No money moves completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-growth-completed-list-wrap"; items.forEach(function(item){ /* Plain text row: no link, button, or redirect */ var row = document.createElement("div"); row.className = "bz-growth-completed-row"; var title = document.createElement("div"); title.className = "bz-growth-completed-title"; title.textContent = item.num + ". " + item.emoji + " " + item.name; var description = document.createElement("div"); description.className = "bz-growth-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam(){ try{ return new URL(window.location.href).searchParams.get("done"); }catch(error){ return null; } } function cleanDoneParam(){ try{ var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState( history.state, "", url.pathname + url.search + url.hash ); }catch(error){} } function runConfetti(){ var layer = document.getElementById("bz-growth-confetti"); if(!layer) return; clearTimeout(confettiTimer); layer.textContent = ""; for(var i = 0; i < 22; i++){ var piece = document.createElement("div"); piece.className = "bz-growth-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty( "--x", ((Math.random() * 150) - 75) + "px" ); piece.style.setProperty( "--y", (26 + Math.random() * 54) + "px" ); piece.style.setProperty( "--r", ((Math.random() * 420) - 210) + "deg" ); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if(Math.random() > 0.55){ piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; }else{ piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function(){ layer.textContent = ""; }, CONFETTI_DURATION); } function boot(){ var root = document.getElementById("bz-category-progress-growth"); var fill = document.getElementById("bz-growth-mini-progress-fill"); var progressBar = document.getElementById("bz-growth-mini-progress"); var progressValue = document.getElementById("bz-growth-progress-value"); var progressSub = document.getElementById("bz-growth-progress-sub"); var dayline = document.getElementById("bz-growth-dayline"); var viewBtn = document.getElementById("bz-growth-view-btn"); var celebrateBtn = document.getElementById("bz-growth-celebrate-btn"); var overlay = document.getElementById("bz-growth-completed-overlay"); var pop = document.getElementById("bz-growth-completed-pop"); var list = document.getElementById("bz-growth-completed-list"); var count = document.getElementById("bz-growth-completed-count"); var closeBtn = document.getElementById("bz-growth-completed-close"); if( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ){ return false; } if(root.dataset.growthReady === "true"){ return true; } root.dataset.growthReady = "true"; function refreshGrowthProgress(){ var store = readStore(); var category = ensureCategory(store); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty( "--bz-growth-shimmer-duration", duration ); root.style.setProperty( "--bz-growth-mobile-shimmer-duration", duration ); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle( "bz-complete-pulse", done === TOTAL ); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Smart money moves completed."; if(done === 0){ dayline.textContent = "Start your growth and compounding system."; }else if(done === TOTAL){ dayline.textContent = "✔ Full loop complete. You’re stacking wins most people overlook."; }else{ dayline.textContent = "✔ Script #" + done + " of your growth system done."; } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle( "bz-visible", done === TOTAL ); renderCompletedList(completed, list); } function openOverlay(){ refreshGrowthProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({preventScroll:true}); } function closeOverlay(){ if(!overlay.classList.contains("bz-visible")) return; if(overlay.contains(document.activeElement)){ viewBtn.focus({preventScroll:true}); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } /* Preserve completion through the ?done= parameter */ var store = readStore(); var category = ensureCategory(store); var doneParam = getDoneParam(); if( doneParam && Object.prototype.hasOwnProperty.call(SCRIPT_META, doneParam) ){ if(category[doneParam] !== true){ category[doneParam] = true; writeStore(store); } cleanDoneParam(); } refreshGrowthProgress(); viewBtn.addEventListener("click", function(event){ event.stopPropagation(); if(overlay.classList.contains("bz-visible")){ closeOverlay(); }else{ openOverlay(); } }); celebrateBtn.addEventListener("click", function(event){ event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function(event){ event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function(event){ if(event.target === overlay){ closeOverlay(); } }); pop.addEventListener("click", function(event){ event.stopPropagation(); }); document.addEventListener("keydown", function(event){ if(event.key === "Escape"){ closeOverlay(); } }); window.addEventListener("storage", function(event){ if(event.key === STORAGE_KEY || event.key === null){ refreshGrowthProgress(); } }); document.addEventListener("visibilitychange", function(){ if(!document.hidden){ refreshGrowthProgress(); } }); return true; } if(!boot()){ var tries = 0; var timer = window.setInterval(function(){ tries++; if(boot() || tries > 30){ window.clearInterval(timer); } }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

Useful Power Tools

Use these power tools when you want to go one level deeper.These help you compare, stress-test, and visualize your money choices—so you can pick what matters most.

(function () { "use strict"; function start() { var popup = document.getElementById("bz-power-tools-completed-pop"); var overlay = document.getElementById("bz-power-tools-completed-overlay"); var scroll = document.getElementById("bz-power-tools-completed-scroll"); var list = document.getElementById("bz-power-tools-completed-list"); if (!popup || !overlay || !scroll || !list) return false; if (popup.dataset.compactSizing === "true") return true; popup.dataset.compactSizing = "true"; var frame = 0; function fitPopup() { if (!overlay.classList.contains("bz-visible")) return; var rows = Array.from( list.querySelectorAll(".bz-power-tools-completed-row") ).slice(0, 3); if (!rows.length) { scroll.style.removeProperty("--bz-power-tools-three-card-height"); return; } var styles = getComputedStyle(scroll); var wrapStyles = getComputedStyle(rows[0].parentElement); var gap = parseFloat(wrapStyles.rowGap) || 0; var height = parseFloat(styles.paddingTop) + parseFloat(styles.paddingBottom) + parseFloat(styles.borderTopWidth) + parseFloat(styles.borderBottomWidth); rows.forEach(function (row) { height += row.offsetHeight; }); height += gap * (rows.length - 1); var heightValue = Math.ceil(height) + "px"; var property = "--bz-power-tools-three-card-height"; if (scroll.style.getPropertyValue(property) !== heightValue) { scroll.style.setProperty(property, heightValue); } } function schedule() { cancelAnimationFrame(frame); frame = requestAnimationFrame(fitPopup); } var observer = new MutationObserver(schedule); observer.observe(overlay, { attributes: true, attributeFilter: ["class"] }); observer.observe(list, { childList: true, subtree: true, characterData: true }); if (window.ResizeObserver) { var resizeObserver = new ResizeObserver(schedule); resizeObserver.observe(list); } window.addEventListener("resize", schedule); if (document.fonts) document.fonts.ready.then(schedule); schedule(); return true; } if (!start()) { var tries = 0; var timer = window.setInterval(function () { tries++; if (start() || tries > 30) window.clearInterval(timer); }, 200); } })();
⚡ Your Progress:
0 of 7
Power Tools completed.
Try your first Power Tool to get started.
(function () { "use strict"; var STORAGE_KEY = "bz_category_progress_v1"; var CATEGORY_KEY = "power_tools"; var CONFETTI_DURATION = 1200; var confettiTimer = 0; var SCRIPT_META = { deal: { number:38, title: "🔖 Good Deal Checker", description: "Assess an offer using price comparisons and available price history.", legacyId: "easy" }, compare: { number:39, title: "🔀 Compare My Options", description: "Lay out alternatives side by side and weigh their tradeoffs.", legacyId: "compare-options" }, test: { number:40, title: "🧪 Stress-Test My Plan", description: "Explore how your plan holds up when assumptions change.", legacyId: "stress-test" }, math: { number:41, title: "🧮 Check My Math", description: "Verify calculations and flag errors or missing inputs.", legacyId: "check-math" }, forecast: { number:42, title: "📈 Show Me the Forecast", description: "Project how your money could change over time." }, visual: { number:43, title: "📊 Visualize My Money", description: "Turn financial figures into clear charts, tables, and comparisons.", legacyId: "visualize-money" }, stocks: { number:44, title: "🏛️ Stock Market Analyzer", description: "Research a stock’s price, financials, and risks before deciding whether to invest." } }; var TOTAL = Object.keys(SCRIPT_META).length; function readStore() { try { var store = JSON.parse(localStorage.getItem(STORAGE_KEY)); return store && typeof store === "object" && !Array.isArray(store) ? store : {}; } catch (error) { return {}; } } function writeStore(store) { try { localStorage.setItem(STORAGE_KEY, JSON.stringify(store)); } catch (error) {} } function ensureCategory(store) { var category = store[CATEGORY_KEY]; if (!category || typeof category !== "object" || Array.isArray(category)) { store[CATEGORY_KEY] = {}; } return store[CATEGORY_KEY]; } function getCompletedScripts(categoryState) { return Object.entries(SCRIPT_META) .filter(function (entry) { var id = entry[0]; var legacyId = entry[1].legacyId; return categoryState[id] === true || (legacyId && categoryState[legacyId] === true); }) .map(function (entry) { return entry[1]; }); } function renderCompletedList(items, listNode) { listNode.textContent = ""; if (!items.length) { var empty = document.createElement("div"); empty.className = "bz-power-tools-empty"; empty.textContent = "No Power Tools completed yet."; listNode.appendChild(empty); return; } var wrap = document.createElement("div"); wrap.className = "bz-power-tools-completed-list-wrap"; items.forEach(function (item) { var row = document.createElement("div"); row.className = "bz-power-tools-completed-row"; var title = document.createElement("div"); title.className = "bz-power-tools-completed-title"; title.textContent = item.number + ". " + item.title; var description = document.createElement("div"); description.className = "bz-power-tools-completed-description"; description.textContent = item.description; row.appendChild(title); row.appendChild(description); wrap.appendChild(row); }); listNode.appendChild(wrap); } function getDoneParam() { try { return new URL(window.location.href).searchParams.get("done"); } catch (error) { return null; } } function cleanDoneParam() { try { var url = new URL(window.location.href); url.searchParams.delete("done"); history.replaceState(history.state, "", url.pathname + url.search + url.hash); } catch (error) {} } function runConfetti() { var layer = document.getElementById("bz-power-tools-confetti"); if (!layer || window.matchMedia("(prefers-reduced-motion: reduce)").matches) { return; } clearTimeout(confettiTimer); layer.textContent = ""; for (var i = 0; i < 22; i++) { var piece = document.createElement("div"); piece.className = "bz-power-tools-confetti-piece"; piece.style.left = (16 + Math.random() * 68) + "%"; piece.style.top = (10 + Math.random() * 10) + "px"; piece.style.setProperty("--x", ((Math.random() * 150) - 75) + "px"); piece.style.setProperty("--y", (26 + Math.random() * 54) + "px"); piece.style.setProperty("--r", ((Math.random() * 420) - 210) + "deg"); piece.style.animationDelay = (Math.random() * 80) + "ms"; piece.style.animationDuration = (850 + Math.random() * 220) + "ms"; if (Math.random() > 0.55) { piece.style.width = "7px"; piece.style.height = "7px"; piece.style.borderRadius = "999px"; } else { piece.style.width = "8px"; piece.style.height = "14px"; piece.style.borderRadius = "2px"; } layer.appendChild(piece); } confettiTimer = window.setTimeout(function () { layer.textContent = ""; }, CONFETTI_DURATION); } function boot() { var root = document.getElementById("bz-category-progress-power-tools"); var fill = document.getElementById("bz-power-tools-mini-progress-fill"); var progressBar = document.getElementById("bz-power-tools-mini-progress"); var progressValue = document.getElementById("bz-power-tools-progress-value"); var progressSub = document.getElementById("bz-power-tools-progress-sub"); var dayline = document.getElementById("bz-power-tools-dayline"); var viewBtn = document.getElementById("bz-power-tools-view-btn"); var celebrateBtn = document.getElementById("bz-power-tools-celebrate-btn"); var overlay = document.getElementById("bz-power-tools-completed-overlay"); var pop = document.getElementById("bz-power-tools-completed-pop"); var list = document.getElementById("bz-power-tools-completed-list"); var count = document.getElementById("bz-power-tools-completed-count"); var closeBtn = document.getElementById("bz-power-tools-completed-close"); if ( !root || !fill || !progressBar || !progressValue || !progressSub || !dayline || !viewBtn || !celebrateBtn || !overlay || !pop || !list || !count || !closeBtn ) { return false; } if (root.dataset.powerToolsReady === "true") return true; root.dataset.powerToolsReady = "true"; function refreshPowerToolsProgress() { var category = ensureCategory(readStore()); var completed = getCompletedScripts(category); var done = completed.length; var duration = (8.6 + done * 1.35) + "s"; root.style.setProperty("--bz-power-tools-shimmer-duration", duration); root.style.setProperty("--bz-power-tools-mobile-shimmer-duration", duration); fill.style.width = ((done / TOTAL) * 100) + "%"; progressBar.classList.toggle("bz-complete-pulse", done === TOTAL); progressValue.textContent = done + " of " + TOTAL; progressSub.textContent = "Power Tools completed."; if (done === 0) { dayline.textContent = "Try your first Power Tool to get started."; } else if (done === TOTAL) { dayline.textContent = "✔ All seven Power Tools completed."; } else { var remaining = TOTAL - done; dayline.textContent = "✔ " + remaining + (remaining === 1 ? " tool left." : " tools left."); } count.textContent = done + " of " + TOTAL + " complete"; celebrateBtn.classList.toggle("bz-visible", done === TOTAL); renderCompletedList(completed, list); } function openOverlay() { refreshPowerToolsProgress(); overlay.classList.add("bz-visible"); overlay.setAttribute("aria-hidden", "false"); viewBtn.setAttribute("aria-expanded", "true"); closeBtn.focus({ preventScroll: true }); } function closeOverlay() { if (!overlay.classList.contains("bz-visible")) return; if (overlay.contains(document.activeElement)) { viewBtn.focus({ preventScroll: true }); } overlay.classList.remove("bz-visible"); overlay.setAttribute("aria-hidden", "true"); viewBtn.setAttribute("aria-expanded", "false"); } var doneParam = getDoneParam(); var completedId = Object.keys(SCRIPT_META).find(function (id) { return doneParam && (id === doneParam || SCRIPT_META[id].legacyId === doneParam); }); if (completedId) { var store = readStore(); var category = ensureCategory(store); if (category[completedId] !== true) { category[completedId] = true; writeStore(store); } cleanDoneParam(); } refreshPowerToolsProgress(); viewBtn.addEventListener("click", function (event) { event.stopPropagation(); if (overlay.classList.contains("bz-visible")) { closeOverlay(); } else { openOverlay(); } }); celebrateBtn.addEventListener("click", function (event) { event.stopPropagation(); runConfetti(); }); closeBtn.addEventListener("click", function (event) { event.stopPropagation(); closeOverlay(); }); overlay.addEventListener("click", function (event) { if (event.target === overlay) closeOverlay(); }); pop.addEventListener("click", function (event) { event.stopPropagation(); }); document.addEventListener("keydown", function (event) { if (event.key === "Escape") closeOverlay(); }); window.addEventListener("storage", function (event) { if (event.key === STORAGE_KEY || event.key === null) { refreshPowerToolsProgress(); } }); document.addEventListener("visibilitychange", function () { if (!document.hidden) refreshPowerToolsProgress(); }); return true; } if (!boot()) { var tries = 0; var timer = window.setInterval(function () { tries++; if (boot() || tries > 30) window.clearInterval(timer); }, 200); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home

3 Free AI Finance Scripts

Here are 3 free AI scripts for smarter money decisions. Learn how to raise your credit score faster, evaluate a large purchase, and translate confusing financial terms into simple, practical answers. Your free trial awaits!

Unlock All 40+ AI Scripts Now Launch Price • $10
One-time purchase • Free updates
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();

💳 Raise My Credit Score Fast

🌱 Growth Wins
📍The Problem

What’s the fastest way to improve my credit score— that actually works?

⚡️Instant AI Script

💡 Improve Your Credit Score With the Highest-Impact Moves First

This script helps you analyze your credit utilization, see what payoff targets could help most, and build a simple plan to improve your score over the next few months.

🧾 Your Credit Snapshot (Example):

Current Credit Score Estimate: 642
Card 1: Chase Freedom Unlimited
Card 1 Balance: $1,850
Card 1 Limit: $4,000
Card 2: Capital One Quicksilver
Card 2 Balance: $620
Card 2 Limit: $3,000
Missed or Late Payments in Last Two Years: no

🧠 What GPT Helps You Figure Out:

1) Where does your credit stand now?
Review your score, balances, limits, and recent payment history.

2) What should you pay down first?
See your credit utilization and the amounts needed to lower it.

3) What could help the most?
Prioritize the actions most likely to improve your credit over the next few months.

✔ Copied to clipboard!
Very good — now take 20 seconds to finish the quick check-in below.
(function(){ var STORAGE_KEY="bz_category_progress_v1", CATEGORY_KEY="growth_wins", SCRIPT_ID="score", btn=document.getElementById("bz-main-btn-score"), hidden=document.getElementById("bz-hidden-script-score"), note=document.getElementById("bz-copy-note-score"), returnWrap=document.getElementById("bz-return-wrap-score"), card=document.getElementById("bz-script-score"), fireworks=document.getElementById("bz-fireworks-score"), state=1, noteTimer1=null, noteTimer2=null; if(!btn||!hidden||!note||!returnWrap||!card||!fireworks)return; if(window.location.hash==="#score"||window.location.hash==="#score2"){ setTimeout(function(){ card.classList.add("bz-arrival-highlight"); setTimeout(function(){ card.classList.remove("bz-arrival-highlight"); },1200); },250); } function readStore(){ try{ return JSON.parse(localStorage.getItem(STORAGE_KEY))||{}; } catch(e){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY,JSON.stringify(store)); } catch(e){} } function markComplete(){ var store=readStore(); if(!store[CATEGORY_KEY]){ store[CATEGORY_KEY]={}; } store[CATEGORY_KEY][SCRIPT_ID]=true; writeStore(store); } function burstFireworks(){ for(var i=0;i<12;i++){ var p=document.createElement("div"), angle=(Math.PI*2/12)*i+(Math.random()*.16-.08), distance=20+Math.random()*18; p.className="bz-firework-piece"; p.style.setProperty( "--x", Math.cos(angle)*distance+"px" ); p.style.setProperty( "--y", Math.sin(angle)*distance+"px" ); if(i%3===0){ p.style.width="5px"; p.style.height="5px"; } if(i%4===0){ p.style.background="#fde68a"; } if(i%5===0){ p.style.background="#fff7cc"; } fireworks.appendChild(p); setTimeout((function(node){ return function(){ if(node.parentNode){ node.parentNode.removeChild(node); } }; })(p),620); } } function showCopiedThenGuidance(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.textContent="✔ Copied to clipboard!"; note.style.opacity=1; noteTimer1=setTimeout(function(){ note.style.opacity=0; noteTimer2=setTimeout(function(){ note.textContent="For guidance only. Use your own judgment."; note.style.opacity=1; },200); },1500); } function resetNote(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.style.opacity=0; note.textContent="✔ Copied to clipboard!"; } function updateButtonToOpen(){ btn.classList.remove("bz-btn-pulse"); btn.textContent="Open GPT + Paste!"; btn.style.background="#121826"; btn.style.border="1.5px solid #ffffff"; btn.style.color="#ffffff"; btn.classList.remove("bz-btn-dopamine"); void btn.offsetWidth; btn.classList.add("bz-btn-dopamine"); setTimeout(function(){ btn.classList.remove("bz-btn-dopamine"); },520); state=2; } function updateButtonToCopy(){ btn.textContent="Copy AI Script"; btn.style.background="#f3cd49"; btn.style.border="1.5px solid #121826"; btn.style.color="#111827"; btn.classList.add("bz-btn-pulse"); resetNote(); returnWrap.style.display="block"; state=3; } function fallbackCopy(text){ hidden.value=text; hidden.focus(); hidden.select(); hidden.setSelectionRange(0,hidden.value.length); try{ return document.execCommand("copy"); } catch(e){ return false; } } function copyPrompt(){ var text=hidden.value.trim(); if(!text)return; function success(){ markComplete(); showCopiedThenGuidance(); card.classList.add("bz-copy-flash"); setTimeout(function(){ card.classList.remove("bz-copy-flash"); },600); burstFireworks(); updateButtonToOpen(); } function failure(){ note.textContent="Could not copy automatically. Please try again."; note.style.opacity=1; } if(navigator.clipboard&&window.isSecureContext){ navigator.clipboard.writeText(text).then(success).catch(function(){ fallbackCopy(text) ? success() : failure(); }); }else{ fallbackCopy(text) ? success() : failure(); } } btn.onclick=function(e){ if(e){ e.preventDefault(); } if(state===1||state===3){ copyPrompt(); return false; } if(state===2){ window.open( "https://chat.openai.com/", "_blank", "noopener" ); updateButtonToCopy(); return false; } return false; }; })();
Unlock All 40+ AI Scripts Now Launch Price • $10
One-time purchase • Free updates

🧮 Large Purchases Referee

🧠 Big Life Money Decisions
📍The Problem

Can I afford this purchase— or am I about to make a mistake?

⚡️Instant AI Script

💡 Decide If You Should Buy Now or Save First

This script helps you compare buying now vs saving over time, see how long it takes to afford something comfortably, and understand the tradeoff between spending today and future growth.

🧾 Your Purchase Snapshot (Example):

Item: MacBook Pro
Price: $2,100
Realistic Saving Pace: $250/month

🧠 What GPT Helps You Figure Out:

1) How long would it take to afford it?
See how long you’d need to save and when you could reach your goal.

2) What’s the trade-off?
Compare buying it with what that money could become over time.

3) Which option makes the most sense?
Compare buying now, waiting and saving, or choosing something cheaper.

✔ Copied to clipboard!
Great — Try another script or buy the full suite now!
(function(){ var STORAGE_KEY="bz_category_progress_v1", CATEGORY_KEY="big_life", SCRIPT_ID="script2", btn=document.getElementById("bz-main-btn-script2"), hidden=document.getElementById("bz-hidden-script-script2"), note=document.getElementById("bz-copy-note-script2"), returnWrap=document.getElementById("bz-return-wrap-script2"), card=document.getElementById("bz-script-script2"), fireworks=document.getElementById("bz-fireworks-script2"), state=1, noteTimer1=null, noteTimer2=null; if(!btn||!hidden||!note||!returnWrap||!card||!fireworks)return; if(window.location.hash==="#large"){ setTimeout(function(){ card.classList.add("bz-arrival-highlight"); setTimeout(function(){ card.classList.remove("bz-arrival-highlight"); },1200); },250); } function readStore(){ try{ return JSON.parse(localStorage.getItem(STORAGE_KEY))||{}; } catch(e){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY,JSON.stringify(store)); } catch(e){} } function markComplete(){ var store=readStore(); if(!store[CATEGORY_KEY]){ store[CATEGORY_KEY]={}; } store[CATEGORY_KEY][SCRIPT_ID]=true; writeStore(store); } function burstFireworks(){ for(var i=0;i<12;i++){ var p=document.createElement("div"), angle=(Math.PI*2/12)*i+(Math.random()*.16-.08), distance=20+Math.random()*18; p.className="bz-firework-piece"; p.style.setProperty( "--x", Math.cos(angle)*distance+"px" ); p.style.setProperty( "--y", Math.sin(angle)*distance+"px" ); if(i%3===0){ p.style.width="5px"; p.style.height="5px"; } if(i%4===0){ p.style.background="#fde68a"; } if(i%5===0){ p.style.background="#fff7cc"; } fireworks.appendChild(p); setTimeout((function(node){ return function(){ if(node.parentNode){ node.parentNode.removeChild(node); } }; })(p),620); } } function showCopiedThenGuidance(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.textContent="✔ Copied to clipboard!"; note.style.opacity=1; noteTimer1=setTimeout(function(){ note.style.opacity=0; noteTimer2=setTimeout(function(){ note.textContent="For guidance only. Use your own judgment."; note.style.opacity=1; },200); },1500); } function resetNote(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.style.opacity=0; note.textContent="✔ Copied to clipboard!"; } function updateButtonToOpen(){ btn.classList.remove("bz-btn-pulse"); btn.textContent="Open GPT + Paste!"; btn.style.background="#121826"; btn.style.border="1.5px solid #ffffff"; btn.style.color="#ffffff"; btn.classList.remove("bz-btn-dopamine"); void btn.offsetWidth; btn.classList.add("bz-btn-dopamine"); setTimeout(function(){ btn.classList.remove("bz-btn-dopamine"); },520); state=2; } function updateButtonToCopy(){ btn.textContent="Copy AI Script"; btn.style.background="#f3cd49"; btn.style.border="1.5px solid #121826"; btn.style.color="#111827"; btn.classList.add("bz-btn-pulse"); resetNote(); returnWrap.style.display="block"; state=3; } function fallbackCopy(text){ hidden.value=text; hidden.focus(); hidden.select(); hidden.setSelectionRange(0,hidden.value.length); try{ return document.execCommand("copy"); } catch(e){ return false; } } function copyPrompt(){ var text=hidden.value.trim(); if(!text)return; function success(){ markComplete(); showCopiedThenGuidance(); card.classList.add("bz-copy-flash"); setTimeout(function(){ card.classList.remove("bz-copy-flash"); },600); burstFireworks(); updateButtonToOpen(); } function failure(){ note.textContent="Could not copy automatically. Please try again."; note.style.opacity=1; } if(navigator.clipboard&&window.isSecureContext){ navigator.clipboard.writeText(text).then(success).catch(function(){ fallbackCopy(text) ? success() : failure(); }); }else{ fallbackCopy(text) ? success() : failure(); } } btn.onclick=function(e){ if(e){ e.preventDefault(); } if(state===1||state===3){ copyPrompt(); return false; } if(state===2){ window.open( "https://chat.openai.com/", "_blank", "noopener" ); updateButtonToCopy(); return false; } return false; }; })();
Unlock All 40+ AI Scripts Now Launch Price • $10
One-time purchase • Free updates

📖 Finance Term Translator

🔥 Everyday Money Wins
📍The Problem

What does this financial term or concept actually mean— and how does it affect me right now?

⚡️Instant AI Script

📘 Explain a Finance Term in Plain English

This script helps you understand a financial term clearly, see how it applies in real life, and figure out what to actually do next without jargon or confusion.

🧾 Your Current Snapshot (Example):

Financial term: APR
Situation I’m thinking about: Choosing between two credit cards
Explanation depth: Quick explanation

🧠 What GPT Helps You Figure Out:

1) What does it actually mean?
Get a plain-English explanation with a simple example.

2) How does it apply to you?
See what the concept means in real life and for your situation.

3) What should you do with it?
Get a practical takeaway, what to watch for, and a simple next step.

✔ Copied to clipboard!
Awesome — Try another script or buy the full suite now!
(function(){ var STORAGE_KEY="bz_category_progress_v1", CATEGORY_KEY="money_wins", SCRIPT_ID="script3", btn=document.getElementById("bz-main-btn-script3"), hidden=document.getElementById("bz-hidden-script-finance"), note=document.getElementById("bz-copy-note-script3"), returnWrap=document.getElementById("bz-return-wrap-script3"), card=document.getElementById("bz-script-script3"), fireworks=document.getElementById("bz-fireworks-script3"), state=1, noteTimer1=null, noteTimer2=null; if(!btn||!hidden||!note||!returnWrap||!card||!fireworks)return; if(window.location.hash==="#finance"){ setTimeout(function(){ card.classList.add("bz-arrival-highlight"); setTimeout(function(){ card.classList.remove("bz-arrival-highlight"); },1200); },250); } function readStore(){ try{ return JSON.parse(localStorage.getItem(STORAGE_KEY))||{}; } catch(e){ return {}; } } function writeStore(store){ try{ localStorage.setItem(STORAGE_KEY,JSON.stringify(store)); } catch(e){} } function markComplete(){ var store=readStore(); if(!store[CATEGORY_KEY]){ store[CATEGORY_KEY]={}; } store[CATEGORY_KEY][SCRIPT_ID]=true; writeStore(store); } function burstFireworks(){ for(var i=0;i<12;i++){ var p=document.createElement("div"), angle=(Math.PI*2/12)*i+(Math.random()*.16-.08), distance=20+Math.random()*18; p.className="bz-firework-piece"; p.style.setProperty( "--x", Math.cos(angle)*distance+"px" ); p.style.setProperty( "--y", Math.sin(angle)*distance+"px" ); if(i%3===0){ p.style.width="5px"; p.style.height="5px"; } if(i%4===0){ p.style.background="#fde68a"; } if(i%5===0){ p.style.background="#fff7cc"; } fireworks.appendChild(p); setTimeout((function(node){ return function(){ if(node.parentNode){ node.parentNode.removeChild(node); } }; })(p),620); } } function showCopiedThenGuidance(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.textContent="✔ Copied to clipboard!"; note.style.opacity=1; noteTimer1=setTimeout(function(){ note.style.opacity=0; noteTimer2=setTimeout(function(){ note.textContent="For guidance only. Use your own judgment."; note.style.opacity=1; },200); },1500); } function resetNote(){ clearTimeout(noteTimer1); clearTimeout(noteTimer2); note.style.opacity=0; note.textContent="✔ Copied to clipboard!"; } function updateButtonToOpen(){ btn.classList.remove("bz-btn-pulse"); btn.textContent="Open GPT + Paste!"; btn.style.background="#121826"; btn.style.border="1.5px solid #ffffff"; btn.style.color="#ffffff"; btn.classList.remove("bz-btn-dopamine"); void btn.offsetWidth; btn.classList.add("bz-btn-dopamine"); setTimeout(function(){ btn.classList.remove("bz-btn-dopamine"); },520); state=2; } function updateButtonToCopy(){ btn.textContent="Copy AI Script"; btn.style.background="#f3cd49"; btn.style.border="1.5px solid #121826"; btn.style.color="#111827"; btn.classList.add("bz-btn-pulse"); resetNote(); returnWrap.style.display="block"; state=3; } function fallbackCopy(text){ hidden.value=text; hidden.focus(); hidden.select(); hidden.setSelectionRange(0,hidden.value.length); try{ return document.execCommand("copy"); } catch(e){ return false; } } function copyPrompt(){ var text=hidden.value.trim(); if(!text)return; function success(){ markComplete(); showCopiedThenGuidance(); card.classList.add("bz-copy-flash"); setTimeout(function(){ card.classList.remove("bz-copy-flash"); },600); burstFireworks(); updateButtonToOpen(); } function failure(){ note.textContent="Could not copy automatically. Please try again."; note.style.opacity=1; } if(navigator.clipboard&&window.isSecureContext){ navigator.clipboard.writeText(text).then(success).catch(function(){ fallbackCopy(text) ? success() : failure(); }); }else{ fallbackCopy(text) ? success() : failure(); } } btn.onclick=function(e){ if(e){ e.preventDefault(); } if(state===1||state===3){ copyPrompt(); return false; } if(state===2){ window.open( "https://chat.openai.com/", "_blank", "noopener" ); updateButtonToCopy(); return false; } return false; }; })();
Unlock All 40+ AI Scripts Now Launch Price • $10
One-time purchase • Free updates
📜Terms of Service

By purchasing or using Benji Finance Suite, you agree to the following:

1. Use of Product
This product is for personal, non-commercial use only. You may not resell, redistribute, or share access.

2. Intellectual Property
All content, including scripts and materials, is owned by Benji-Z LLC and protected by copyright laws.

3. No Professional Advice
This product is for educational purposes only and does not constitute financial, legal, or tax advice.

4. Limitation of Liability
We are not responsible for any financial decisions or outcomes resulting from use of this product.

5. Access
We reserve the right to update, modify, or discontinue the product at any time.

6. Acceptance
By purchasing, you agree to these terms.

(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Important Information

⚖️ Legal

🔒Privacy Policy

Your privacy is important.

1. Data Collection
We do not collect or store personal financial data within the product. Basic purchase information may be handled by Lemon Squeezy for transaction purposes.

2. Local Storage
Progress and usage data may be stored locally on your device (for example, browser storage) and is not transmitted to us.

3. Third-Party Services
Payments are securely processed by Lemon Squeezy. Please refer to their privacy policy for details.

4. No Selling of Data
We do not sell, rent, or share your personal information.

5. Contact
If you have questions, contact: [email protected]

(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();
Click me to go back home
Set up your backups

Backup & Restore Data

Private by Default
🔒Protect Your Progress

All of your Finance Suite data stays with you. Nothing gets sent back to us.

Back it up occasionally so you don't lose your progress.
Restore it anytime when needed.

Your data is private and under your control. As it should be.
 
 
Last backup: —

Start Fresh

Want to start over? You have the option to delete ALL of your saved data and progress associated with this site. Your login, license key, and registered devices will remain activated.

Note: Please remember to clear your browser’s cookies for this site.

Click once to activate. Click again to confirm. WARNING: This cannot be undone.

(function(){ 'use strict'; function init(){ var button=document.getElementById('bz-clear-data-btn'); var message=document.getElementById('bz-clear-data-status'); if(!button||!message||button.dataset.ready)return; button.dataset.ready='true'; var armed=false; var busy=false; var timer=null; var account=null; var hint='Click once to activate. Click again to clear data. This cannot be undone.'; function disarm(text){ armed=false; account=null; clearTimeout(timer); button.dataset.armed='false'; button.textContent='Clear All Data'; message.textContent=text||hint; } button.addEventListener('click',async function(){ if(busy)return; var cloud=window.BZCloudSync; if(!cloud||typeof cloud.clearAllData!=='function'){ disarm( 'The reset update is not loaded yet. Refresh the page and try again.' ); return; } busy=true; button.disabled=true; try{ var auth=window.BenjiAuth; var session= auth&&typeof auth.session==='function' ?await auth.session() :null; if(!session){ disarm( 'Please sign in before clearing your saved data.' ); return; } if(!armed){ armed=true; account=session.user.id; button.dataset.armed='true'; button.textContent='Click to Confirm'; message.textContent= 'This will permanently clear your saved data. Click again within 10 seconds to confirm.'; timer=setTimeout(function(){ disarm(); },10000); return; } if(account!==session.user.id){ disarm( 'Your account changed. Click again to start over.' ); return; } clearTimeout(timer); armed=false; button.textContent='Clearing Data…'; message.textContent= 'Clearing your cloud save and this browser. The page will refresh when finished.'; await cloud.clearAllData(account); message.textContent= 'Data cleared. Refreshing…'; }catch(e){ disarm( e.message==='ACCOUNT_CHANGED' ?'Your account changed. Please try again.' :(e.message|| 'Could not finish the reset. Check your connection and try again.') ); }finally{ busy=false; button.disabled=false; } }); document.addEventListener('keydown',function(e){ if(e.key==='Escape'&&armed&&!busy){ disarm(); } }); window.addEventListener('hashchange',function(){ if(armed&&!busy){ disarm(); } }); window.addEventListener('benji-auth-change',function(){ if(armed&&!busy){ disarm(); } }); } if(document.readyState==='loading'){ document.addEventListener( 'DOMContentLoaded', init, {once:true} ); }else{ init(); } })();
window.BZ_BACKUP_PAGE = (function(api){ api.downloadBackup = async function(){ api = window.BZ_BACKUP_SHARED || api; var btn = api.getDownloadButton(); var status = api.getDownloadStatus(); try{ if(btn) btn.disabled = true; var payload = api.collectBackupPayload(); var canonicalPayload = api.stableStringify(payload); var hash = await api.sha256Hex(canonicalPayload); var backupFile = { app: "Benji Finance Suite", version: 1, exportedAt: new Date().toISOString(), payload: payload, hash: hash }; var fileText = JSON.stringify(backupFile, null, 2); var filename = "benji-finance-backup-" + api.getSafeDateStamp() + ".json"; api.triggerDownload(filename, fileText); var now = new Date(); localStorage.setItem(api.LAST_BACKUP_KEY, now.toISOString()); api.renderLastBackup(now); api.showStatus(status, "Downloaded!", "success", "download"); if(btn) btn.disabled = false; }catch(err){ console.error("Backup export failed:", err); if(btn) btn.disabled = false; api.showStatus(status, "Download failed! Please try again.", "error", "download"); } }; api.handleRestoreFile = async function(file){ api = window.BZ_BACKUP_SHARED || api; var btn = api.getRestoreButton(); var status = api.getRestoreStatus(); if(!file){ return; } if(btn) btn.disabled = true; try{ var text = await api.readFileAsText(file); var backup; try{ backup = JSON.parse(text); }catch(parseErr){ if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Invalid backup file."); return; } if(!api.validateBackupShape(backup)){ if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Invalid backup file."); return; } if(!api.payloadHasOnlyAllowedKeys(backup.payload)){ if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Invalid backup file."); return; } if(!api.validatePayloadValues(backup.payload)){ if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Invalid backup file."); return; } var canonicalPayload = api.stableStringify(backup.payload); var recomputedHash = await api.sha256Hex(canonicalPayload); if(recomputedHash !== backup.hash){ if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Invalid backup file."); return; } var confirmed = window.confirm("Restore this backup and replace your current saved progress on this device?"); if(!confirmed){ if(btn) btn.disabled = false; api.clearStatus(status); return; } api.restorePayloadToLocalStorage(backup.payload); api.showStatus(status, "Restored!", "success", "restore"); setTimeout(function(){ window.location.href = "https://benjifinance.com/#full"; }, 700); }catch(err){ console.error("Backup restore failed:", err); if(btn) btn.disabled = false; api.showStatus(status, "Restore failed! Please try again.", "error", "restore"); alert("Restore failed. Please try again."); } }; return { getDownloadButton: api.getDownloadButton, getRestoreButton: api.getRestoreButton, getDownloadStatus: api.getDownloadStatus, getRestoreStatus: api.getRestoreStatus, getLastBackupNode: api.getLastBackupNode, ensureFileInput: api.ensureFileInput, loadLastBackup: api.loadLastBackup, clearStatus: api.clearStatus, downloadBackup: api.downloadBackup, handleRestoreFile: api.handleRestoreFile }; })(window.BZ_BACKUP_SHARED || {});
(function(){ if(window.BZ_BACKUP_BUTTONS_WIRED) return; window.BZ_BACKUP_BUTTONS_WIRED = true; function getFileInput(){ var input = document.getElementById("bz-backup-restore-file-input"); if(!input){ input = document.createElement("input"); input.type = "file"; input.accept = ".json,application/json"; input.id = "bz-backup-restore-file-input"; input.style.position = "fixed"; input.style.left = "-9999px"; document.body.appendChild(input); } input.onchange = function(){ var file = input.files && input.files[0]; var api = window.BZ_BACKUP_PAGE; if(!file) return; if(!api || typeof api.handleRestoreFile !== "function"){ alert("Restore code did not load. Please refresh and try again."); return; } api.handleRestoreFile(file); }; return input; } document.addEventListener("click", function(event){ var button = event.target.closest( "#bz-backup-download-btn, #bz-backup-restore-btn" ); if(!button) return; var api = window.BZ_BACKUP_PAGE; if(!api) return; if(button.id === "bz-backup-download-btn"){ if(typeof api.downloadBackup !== "function") return; event.preventDefault(); api.downloadBackup(); return; } if(typeof api.handleRestoreFile !== "function") return; event.preventDefault(); var input = getFileInput(); input.value = ""; input.click(); }); function showLastBackup(){ var api = window.BZ_BACKUP_PAGE; if(api && typeof api.loadLastBackup === "function"){ api.loadLastBackup(); } } if(document.readyState === "loading"){ document.addEventListener("DOMContentLoaded", showLastBackup); }else{ showLastBackup(); } })();
(function () { document.querySelectorAll('.bz-footer-combo').forEach(function (card) { const button = card.querySelector('#bz-footer-wrapper'); const note = card.querySelector('#bz-hidden-footer-note'); if (!button || !note || button.dataset.footerRevealReady) return; button.dataset.footerRevealReady = 'true'; let clicks = 0; button.addEventListener('click', function () { clicks += 1; if (clicks < 5) return; clicks = 0; const showLink = note.hidden; note.hidden = !showLink; note.classList.toggle('bz-visible', showLink); button.setAttribute('aria-expanded', String(showLink)); }); }); })();