Clipboard API
There is a feature of a website I use that does not work in my Android Firefox. The support guy in that website has told me that it happens because Firefox has not added a Clipboard API required for that feature. Are you planning to add it?
The website is acim.org/acim and the feature is making visual quotes. It works with Chrome as you can see in the attached screenshot. It's just that I would like to stick with Firefox no matter what I'm doing.
Thank you for your attention.
Juan Illán.
Semua Balasan (5)
Hi
I can open that page in Firefox for Android, but how do I access the "visual quotes" feature?
Please can you specify the steps that I would need to follow to try to replicate the issue.
It you open that site using Chrome and just put your finger on a sentence, it appears as in the first attached screenshot.
It you do it using Firefox, it appears as in the second attached screenshot (no create image button, but a copy/search feature).
In Chrome for Android, the site seems to select a sentence when you tap it (and deselect if you tap it again). That part probably works in any browser, although it's not enabled in Firefox.
On Firefox for Desktop, the site displays the Create Image button after you select a range of text with a mouse. That probably depends on detecting that a selection was made in the page. Is this the aspect that is different in Firefox for Android -- the site cannot detect that a selection was made?
It actually can detect a selection was made, but only for copy/search purposes. The "create image" button doesn't show while in Firefox for Linux or Chrome for Android it does show.
The support person for the website told me that's because Firefox for Android lacks a "Clipboard API" required for this functionality.
The menu in your Firefox screenshot is Firefox for Android's own selected text menu that it shows on every site. Maybe the problem is not related to the selection but to the way the site composes or delivers the image.
It would be helpful if someone from the site could file an issue for the missing functionality here:
https://github.com/mozilla-mobile/fenix/issues
Or if it's already filed, indicate which issue number it is so the site can be added as an example.