vimium
vimium copied to clipboard
Yank functionality not working in Brave Browser
Describe the bug:
I'm having issues with the "yank" functionality in Vimium for Brave; in particular, yy
and yf
. When I press yy
the extension does report that the value of the URL has been yanked: see this screenshot. Same applies for yf
; when I enter yf
and chose a link, it reports that the desired link has been yanked: see this screenshot.
However, when I try to access the clipboard using CMD + v
-- the value of the clipboard is not the one yanked by Vimium, rather it contains the old value (the texts that I manually copied using CMD + c
or Right-click -> Copy Link Address
for example).
To Reproduce:
- "Yank" a URL (using either
yy
oryf
) - Go to another tab
- Use
CMD + v
to paste the URL to test if Vimium modified the clipboard.
Brave Browser Version: Version 1.52.130 Chromium: 114.0.5735.198 (Official Build) (arm64)
Platform: macOS 13.4.1
Vimium version: 1.67.7
I think this is the same as #4153, I use Brave, but I experienced this in vanilla chrome also: it seems that yank doesn't always work and I see the same error in the console as the linked issue.
Reporting another instance of the same - I had it working fairly consistently in Chrome, but when I switched to Brave it never works.
I believe I am also experiencing this on Arc.
works for me on:
Version 1.57.53 Chromium: 116.0.5845.114 (Official Build) (arm64), Vimium 1.67.7
I have added vimium just to test it to Brave cause of this issue (mainly use FF), and it asked me for explicit permission for clipboard access. Maybe you have a blanket policy that rejects them or at some point in the past you've disallowed them?
Worth checking I think.
Hmm, I checked, it does not have clipboard access listed.
Permissions
Read and change your browsing history on all your signed-in devices
Display notifications
Read and change your bookmarks
Ok, so interestingly, vimium previously never asked me for this permission, but I tested just now, and it did. It now seems to work. To verify, go to brave://settings/content/clipboard
and check if vimium
is listed under "allowed to see your clipboard" part.
Thank you, @ferdinandyb. I had this same issue in Arc and was able to solve it by going to: chrome://settings/content/clipboard
♥️