From b45b3820b1e8c61da3d1412a7c5bf0f79dbf34bc Mon Sep 17 00:00:00 2001 From: p6laris <71460146+p6laris@users.noreply.github.com> Date: Fri, 15 Nov 2024 07:54:17 +0300 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 900f412..e478561 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,8 @@ You can check if the browser supports the Clipboard API with the `IsClipboardSup ```C# bool isSupported = await Clipbaord.IsClipboardSupported(); ``` -For more information about clipboard api support for browsers check this [link](https://caniuse.com/?search=Asynchronous%20Clipboard%20API) + +:warning: Most of non-Chromium browsers (Firefox or safari) does not support clipboard api permissions so the `IsClipboardSupported()` and `Clipboard.IsPermitted(PermissionCommand.Write)`, `Clipboard.IsPermitted(PermissionCommand.Read)` always return **true**. Please check this [mdn](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#security_considerations) #### Checking Permissions The Clipboard API requires user permission to read and write to the clipboard. Use the `IsPermitted()` asynchronous method with the `PermissionCommand` enum to check read or write permission: