From 2748e8a862c3645edbe81d0be6d0c689ac14a2f6 Mon Sep 17 00:00:00 2001 From: Daniel Padrino Date: Sat, 8 Aug 2026 13:00:31 -0300 Subject: [PATCH 1/2] docs: set clipboard-write permission on the Iframe example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5850b0276..cbcb33e9e 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ DFX services can be integrated using a browser redirect to [app.dfx.swiss](https #### Iframe -DFX services can be integrated by opening [app.dfx.swiss](https://app.dfx.swiss/) with the desired parameters (see [below](#query-parameters)) in an Iframe. See the [code example](#iframe-example) below. +DFX services can be integrated by opening [app.dfx.swiss](https://app.dfx.swiss/) with the desired parameters (see [below](#query-parameters)) in an Iframe. See the [code example](#iframe-example) below. The `allow="clipboard-write"` attribute should be set on the Iframe, as copy buttons cannot use the browser clipboard from within a cross-origin Iframe without it. On cancel or completion, a message will be sent on the window object of the browser. See [below](#close-message) for details on the message format. If a redirect URI is specified, the user will be redirected to this URI (see [redirect](#redirect)). @@ -253,7 +253,7 @@ Documentation on `BuyPaymentInfoDto`, `SellPaymentInfoDto` and `SwapPaymentInfoD } - ``` #### Web Component Example