fix: defer favicon injection with setTimeout for htmlpreview compat (v1.4.29)

This commit is contained in:
Kantine Wrapper
2026-02-26 10:01:17 +01:00
parent 5f30696315
commit 614f498d11
3 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,6 @@
## v1.4.29
- 🐛 **Bugfix**: Favicon-Injection in `install.html` mit `setTimeout(0)` verzögert, sodass sie nach dem `document.write()` von htmlpreview.github.io läuft. Chrome erkennt Favicon-Änderungen erst im nächsten Event-Loop-Tick.
## v1.4.28
- 🎨 **Favicon**: Eigenes Favicon-Design aus `favicon_base.png` (2048x2048) auf 32x32 skaliert. Wird beim Build automatisch als PNG-Data-URI in Bookmarklet und Installer injiziert.