Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Clipboard access

  • 6 replies
  • 1 has this problem
  • 1860 views
  • Last reply by cor-el

more options

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

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 👍 0

All Replies (6)

more options

Did you grant access to the "clipboard-read" permission?

more options

I do not see any option to grant access to clipboard-read permission. How do I do it?

more options

Try "var promise = navigator.clipboard.read();" Let me know if it works, otherwise, I can look for another way.

more options

Yes I have tried read and readText both methods, it throws error

more options

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.

more options