Open QR code images in new tab instead of in modal when JS is disabled
#11
Open
opened 1 year ago by SomeGuy
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
@SomeGuy This can be done by wrapping QR code buttons with
<a href="data:image/png,..."></a>
.However, doing so sends the encoding of every QR code twice in the HTML (once in the modal, once in the anchor element), so it may not be good practice.
Options:
Note that serving QR code invite images (Option 2) should take into account whether the invites are fetched on demand, as that creates a tracking vector.