Reduce or eliminate clipboard permissions in browser extension
Opened this issue · 0 comments
Every time I use the browser extension on a new site (when I have the copy and paste options enabled), I get a prompt to enable clipboard permissions:
Even while the clipboard permission is pending or blocked, the extension is able to insert text into textboxes, but only as long as I have the copy and paste options enabled in Whispering's settings. (When I disable them, I no longer get the permission prompt, but the automatic insertion doesn't work, and I have to go to the recordings list and manually copy and paste.) I would like the text inserting to work even when I don't have the clipboard functionality enabled.
Furthermore, even if I do want to enable the clipboard functionality, could the clipboard operations be done from the context of the extension? I believe that would then only require the extension to have the clipboard permission, rather than every site I use it on.
Actually, it seems feasible that if the text insertion is decoupled from the clipboard, the extension would not need the clipboard permission at all (or at least the read permission), because it would only need to write to the clipboard ; there would be no reason to read from the clipboard, because the extension just put the text there in the first place (plus, it's also in the database). This would also lead to rephrasing or eliminating the option "Paste contents from clipboard after successful transcription" in the settings, depending if you think it would still make sense to have copy-only and store-only modes.