"Sign in with a passkey" popup blocker
Blocks automatic Windows Security "Sign in with a passkey" popup in browser. Only allows them after a recent click/tap or Enter/Space.
Author: mode0192
⫸ Description
This mod blocks the automatic Windows Security passkey popup that may appear immediately when opening a login page (because a passkey exists for that site), even if you didn't choose "Sign in with passkey".
The popup is only allowed after recent user intent:
- a click/tap (mouse or touch), or
- pressing Enter / Space
within a short time window (default 800ms).
ㅤ
⫸ Photos
Before

ㅤ
⫸ Features
- Smart Blocking: Silently blocks passkey prompts that appear automatically on page load.
- Intent Detection: Allows the popup only after a recent Click / Tap / Enter / Space.
- Multi-Process Reliable (Chromium browsers): Syncs intent across Chrome/Edge/Brave/etc. processes (tabs / sandboxed processes) using shared memory, so clicks in one process are visible to the WebAuthn call in another.
- Robust Input Hooks: Hooks both
PeekMessageW and GetMessageW so it works across different message loops.
- Accurate Timing: Uses
GetTickCount() for consistent tick stamping across all message hooks.
- Configurable Block Behavior: Choose which WebAuthn error code is returned when blocking (recommended default behaves like "user cancelled").
- Zero Latency: Runs natively in the browser process.
- Privacy First: Does not log keystrokes or transmit data (only updates a timestamp on intent).
ㅤ
⫸ Case Scenarios
No configuration is needed. It works out of the box.
| Scenario |
What happens |
| Open a login page (where Windows normally auto-prompts) |
The automatic popup is Blocked 🛑 |
| Click / Tap "Sign in with passkey" on the website |
The popup is Allowed ✅ |
| Keyboard users: focus the passkey sign-in option and press Enter / Space |
The popup is Allowed ✅ |
| A site tries to trigger passkeys automatically (scripts/autofill/background behavior) |
The popup is Blocked 🛑 |
| A website feels too strict (your valid click is still getting blocked) |
Increase Interaction Timeout in settings |
| A specific website behaves strangely when the popup is blocked |
Switch Block Behavior to Not Found (Compatibility) |
ㅤ
⫸ Advanced Settings
Interaction Timeout (ms)
Default: 800ms (max 10000ms) — how long after a click/keypress the popup is allowed.
Only change this if it blocks a real click.
Block Behavior
What error code to return when blocking:
- User Cancelled (Recommended) →
NTE_USER_CANCELLED
- Not Found (Compatibility) →
NTE_NOT_FOUND
ㅤ
⫸ Supported Browsers
The mod works with almost all Chromium-based and Gecko-based browsers:
- Chrome
- Edge
- Firefox (and forks like Waterfox, LibreWolf)
- Brave
- Opera / Opera GX
- Vivaldi
- Thorium
- Chromium
ㅤ
🔒 Privacy & Security
Transparency is critical for mods that handle input.
- No Keylogging: The mod does not record what you type. It only checks for specific "intent" inputs (click/tap or Enter/Space) and updates a timestamp.
- No Data Transmission: The mod runs entirely locally. No data is sent to any server.
- Safety: Passwords, usernames, and page content are never touched or inspected.
ㅤ
📄 Credits
- Author: mode0192
- License: CC BY-NC-SA 4.0 (Free for personal use, no commercial sale)
ㅤ
🐛 Report a Bug
If you encounter any issues or have suggestions for the mod, please submit them on the support forum.
ㅤ
📜 Changelog
3.1.0 (Feb 18, 2026)
- Changed: Increased default Interaction Timeout from 500ms to 800ms.
- Improved: WebAuthn hook is now initialized first (before message loop hooks) — mod fails cleanly early if the critical hook can't be established, avoiding partial hook state.
- Improved:
GetLastTick() now uses InterlockedOr(&val, 0) instead of InterlockedCompareExchange for a more correct and idiomatic atomic read on LONG-aligned memory.
- Improved:
SetLastTick() local fallback now also uses InterlockedExchange (was a plain assignment before), making it thread-safe in all cases.
- Fixed: Removed
m->time as a tick source in message hooks — it was unreliable (can be 0 or stale in some browser message loops). GetTickCount() is now used consistently.
- Code: Replaced C-style casts with
static_cast / reinterpret_cast throughout for cleaner, safer code.