Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy not working for Opera Mobile #108

Open
Cililing opened this issue May 10, 2019 · 3 comments
Open

Copy not working for Opera Mobile #108

Cililing opened this issue May 10, 2019 · 3 comments

Comments

@Cililing
Copy link

Cililing commented May 10, 2019

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

@lgarron
Copy link
Owner

lgarron commented May 10, 2019

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!)

@Cililing
Copy link
Author

Cililing commented May 11, 2019

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 :(

@lgarron
Copy link
Owner

lgarron commented Jul 27, 2020

Some copy operations seem to work now, but copying images and reading text still fail due to denied permissions. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants