feat: add credential capture with bar/toast prompts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-04-12 12:24:04 -04:00
parent a56114650a
commit baf6416805
2 changed files with 310 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
import { setupFillListener } from './fill';
import { injectFieldIcons } from './icon';
import { hookForms } from './capture';
/// Find password fields on the page and detect their associated username inputs.
function detectLoginForms(): Array<{ password: HTMLInputElement; username: HTMLInputElement | null }> {
@@ -80,6 +81,7 @@ function scan(): void {
for (const { password, username } of forms) {
injectFieldIcons(password, username);
}
hookForms();
}
// --- Initialization ---