clipboard-polyfill
clipboard-polyfill copied to clipboard
Copy not working for Opera Mobile
Copying and pasting is not working for mobile clients, like:
- Opera Mini
- Opera Touch
- Opera for Android
Thrown exception: NotAllowedError: Write/Read permission denied
I think this problem is permissions, which are not supported in Opera clients. All Opera clients are based on Chromium, but it seems that Chrome is handling those in some other way (probably has own implementation for permissions).
I've tested it on https://garron.net/code/clipboard-polyfill/ What works for Opera Mobile:
- Markup
- DOM node
What doesn't work:
- Plain Text
- Paste Text
As Opera has a quite nice usage on Mobile Phones I think it's worth to consider to add library-support for it. Not working real page with a lot of users, for example: https://hsreplay.net/decks/zBIJy80UbyGGAPvK2OAhsd/ -> Copy deck to hearthstone
Thanks! Przemek
Would you mind specifying which OS/browser version combinations work for you?
(I believe that many Opera Mini clients are still using pre-Chromium codebases!)
I've checked for Honor Play (Android 9), Google Pixel (Android 8.1), Xiaomi Mi A1 (Android 8.0). None is working.
According Wikipedia Opera for Android has been using Chromium science 2013. Anyway, whatever they use, library is not working for mobile clients of Opera because of missing permissions :(
Some copy operations seem to work now, but copying images and reading text still fail due to denied permissions. :-(