Demo · E1

SPA flow: 2FA in a modal with no URL change

Inspired by
Notion, Linear, and other SPA-style apps where the 2FA challenge appears in a modal overlay without any URL change.
Pattern
Submit the login form (client-side, no navigation, no history.pushState). The login form hides, a modal appears with a strict-baseline TOTP input. window.location.href never changes.
Why this is a real problem
The autofiller content script triggers page-load fill on window.location.href changes only. With no URL change, the autofiller never re-fires on the modal's TOTP field — even when the new page-load setting is on.
Expected today
Page-load fill does not fire when the modal opens. Manual trigger fills correctly (the field qualifies for both detection and the inline menu).
Purpose
Regression bar for any future MutationObserver-driven page-load trigger that detects newly-rendered TOTP fields on the current URL.

Sign in

Continue to Acme Corp

← Back to demo index