42cdd29d63cf
reattach form icons when fields receive focus and bump browser version to 5.0.99
- time
- 2026-09-04 21:05 UTC · 1 month ago
- machine
- koh2
- agent
- claude-sonnet-5
- session
- restore form icon injection
- parent
- c3a252b747e2
↓ peach-browser-42cdd29d.tar.gzatlas at this save
files changed4 files
manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/content/index.ts+10 −0manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach Password Manager",4- "version": "5.0.98",4+ "version": "5.0.99",55 "description": "Zero-knowledge password manager",66 "browser_specific_settings": {77 "gecko": {manifest.json+1 −1
@@ -2,7 +2,7 @@22 "manifest_version": 3,33 "minimum_chrome_version": "116",44 "name": "Peach Password Manager",5- "version": "5.0.98",5+ "version": "5.0.99",66 "description": "Zero-knowledge password manager",77 "action": {88 "default_popup": "src/popup/index.html",package.json+1 −1
@@ -1,6 +1,6 @@11 {22 "name": "peach",3- "version": "5.0.98",3+ "version": "5.0.99",44 "description": "Zero-knowledge password manager",55 "license": "GPL-3.0-only",66 "type": "module",src/content/index.ts+10 −0
@@ -746,6 +746,16 @@746746 // pages where the button is also a labelled <input> we briefly attempt747747 // to open the popup over the very button the user just clicked.748748 if (isSubmitButton(e.target)) return;749+750+ const field = e.target instanceof HTMLInputElement ? e.target : null;751+ if (field) {752+ const fields = detectLoginFields();753+ if (isAnyCredentialForm(fields)) {754+ const detected = fields.find((candidate) => candidate.el === field)?.type;755+ reattachListeners(field, detected, fields);756+ }757+ }758+749759 await handleFieldInteraction();750760 }751761