Skip to content

Commit 8bf518a

Browse files
committed
<a href=data:> does not guarantee a download dialog
1 parent fef5627 commit 8bf518a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src-docs/faq/compat.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
e.g. with <https://babeljs.io>
1414
- `<a href="https://example.org/foo">` and other external links are blocked by definition;
1515
instead, embed content or use `mailto:` link to offer a way for contact
16+
- `<a href="data: or otherwise internal">` is not guaranteed to open a download dialog;
17+
instead, use [`sendToChat()`](../spec/sendToChat.md) to export files.
1618
- features that require user permissions
1719
or are enabled through the [Permissions Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Permissions_Policy) may not work,
1820
Geolocation, Camera, Microphone etc.

0 commit comments

Comments
 (0)