You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Restore gesture requirement for async clipboard write access #16890
Chromium 66+ implements Asynchronous Clipboard API. Chromium, in contrast to Safari and Firefox, allow a website to write to the user's clipboard using navigator.clipboard.writeText()/write() without a user gesture (only criteria is that the tab should be active).
We should require a user gesture (click, touch events) to enable use of navigator.clipboard.writeText() and navigator.clipboard.write(). Else, promise should reject.
Could this be re-evaluated?
Personally i really don't like this clipboard feature at all and want it gone in it's entirety.. That's probably not going to happen so please put it behind a permission request at the very least.
When it's time to try the fix, we'll need to go shields down to test the test page when fixing as EasyList is blocking what is required to test the gesture
Verified issue does not occur with 1.43.91. Checked with shields up and shields down.
When pasting in a new tab, my clipboard was no overwritten, it was the same text I had prior to visiting the page.
1.43.91 Shields Up
1.43.91 Shields Down
Note - Per brave/brave-core#14901 (comment), if you see "NotAllowedError" message this is ok as well. I did see this when changing shield settings.
Verified issue does not occur with 1.43.91. Checked with shields up and shields down.
When pasting in a new tab, my clipboard was not overwritten, it was the same text I had prior to visiting the page.
1.43.91 Shields Up
1.43.91 Shields Down
Note - Per brave/brave-core#14901 (comment), if you see "NotAllowedError" message this is ok as well. I did see this when changing shield settings. (Refreshed the page and the error message was dismissed)
Activity
ShivanKaul commentedon Oct 1, 2021
mozilla/standards-positions#89
markg85 commentedon Aug 28, 2022
Could this be re-evaluated?
Personally i really don't like this clipboard feature at all and want it gone in it's entirety.. That's probably not going to happen so please put it behind a permission request at the very least.
androolloyd commentedon Aug 30, 2022
Am here to voice concern over this, its incredibly invasive and I would like to see it removed entirely from the Brave engine.
bsclifton commentedon Aug 30, 2022
When it's time to try the fix, we'll need to go shields down to test the test page when fixing as EasyList is blocking what is required to test the gesture
8 remaining items
kjozwiak commentedon Sep 7, 2022
The above will require
1.43.91or higher for1.43.xverification 👍LaurenWags commentedon Sep 8, 2022
Verified with
Reproduced the issue using 1.43.88 and STR from brave/brave-core#14901 (comment).
Checked with shields up and shields down as per #16890 (comment).
Verified issue does not occur with 1.43.91. Checked with shields up and shields down.
When pasting in a new tab, my clipboard was no overwritten, it was the same text I had prior to visiting the page.
Note - Per brave/brave-core#14901 (comment), if you see "NotAllowedError" message this is ok as well. I did see this when changing shield settings.
MadhaviSeelam commentedon Sep 8, 2022
Verification
PASSEDusingReproduced the issue using
1.43.89and STR from brave/brave-core#14901 (comment).Checked with shields up and shields down as per #16890 (comment).
Verified issue does not occur with
1.43.91. Checked with shields up and shields down.When pasting in a new tab, my clipboard was not overwritten, it was the same text I had prior to visiting the page.
Note - Per brave/brave-core#14901 (comment), if you see "NotAllowedError" message this is ok as well. I did see this when changing shield settings. (Refreshed the page and the error message was dismissed)
btlechowski commentedon Sep 12, 2022
Verification passed on
Verified brave/brave-core#14901
Reproduced in 1.43.88
Verified in 1.43.92
Details
shields on shields down

srirambv commentedon Sep 13, 2022
Verification passed on Oppo Reno 5 with Android 12 running 1.43.92 x64 build
Verification passed on Samsung Tab A with Android 10 running 1.43.92 x64 build