Privacy by Design
Birthdates, travel windows, contract dates, and holiday schedules stay strictly on your device. Here is the exact technical boundary we enforce โ and what the outer content site does and does not collect.
1. Cross-origin isolated calculator frame
The interactive calculator runs on its own origin (dates-frame.lasita.dev), separate from the documentation and content site (dates.lasita.dev). Because browsers enforce the Same-Origin Policy across origins, scripts on the content page cannot inspect the iframe DOM, read your inputs, or access the frame’s storage.
2. Zero network access for the calculator page
The calculator frame serves a strict Content-Security-Policy with connect-src 'none', form-action 'none', script-src 'self', style-src 'self', and Trusted Types (require-trusted-types-for 'script'). Even if a bug existed, the browser blocks fetch, XMLHttpRequest, sendBeacon, and WebSocket requests from the frame.
One helper runs outside that page: a service worker that makes the calculator work offline. It may only download the calculator’s own files from its own address (connect-src 'self'). It never sees your dates and cannot contact any other server.
3. What is stored locally (and what is never stored)
- Never stored or transmitted: your entered start/end dates, birthdates, and calculated outputs. They never appear in the URL, cookies, or
postMessagepayloads. - On-device preferences only: your preferred weekend mask and Feb 29 birthday rule are saved in the frame’s
localStorageunder a strict Valibot schema. - Custom holiday lists: memory-only by default. They are saved locally only if you explicitly check “Remember my holiday list on this device”, and can be wiped immediately with one click.
4. Honest scope: content site vs. calculator frame
While the calculator frame collects zero data and runs zero third-party scripts, the outer content pages on dates.lasita.dev may use privacy-friendly Cloudflare Web Analytics and Google AdSense (with a certified consent banner in EEA/UK/CH and US opt-out support) to keep the tool free. Read the full Lasita Privacy Policy.