Clipboard access
I need to access clipboard via clipboard.readtext() But I am unable to do so in mozilla Please help as this is blocking my work. My mozilla version is 85.0.2
Chosen solution
Have you tried it with Microsoft Edge? Some browsers don't support "clipboard.read"
Otherwise, perhaps try "dom.events.asyncClipboard.dataTransfer" (it has to be set to true) or the "clipboard.read" extension.
Read this answer in context 👍 0All Replies (6)
Did you grant access to the "clipboard-read" permission?
I do not see any option to grant access to clipboard-read permission. How do I do it?
Try "var promise = navigator.clipboard.read();" Let me know if it works, otherwise, I can look for another way.
Yes I have tried read and readText both methods, it throws error
Chosen Solution
Have you tried it with Microsoft Edge? Some browsers don't support "clipboard.read"
Otherwise, perhaps try "dom.events.asyncClipboard.dataTransfer" (it has to be set to true) or the "clipboard.read" extension.