BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.83k stars 340 forks source link

Auto copy within script #1830

Closed DLoper closed 3 years ago

DLoper commented 3 years ago

We have an application that automatically copies information when right clicking on the line it is listed in. This function does not work in Waterfox, it does work in Firefox, Chrome and others. The report is as follows: document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.

C;an you give me any insight as to how to fix this? I do not know if it is something that can be addressed from the browser level or if it will need to be addressed in the application. The vendor for this application is willing to implement whatever needs to be implemented to fix.

Thanks! Don

issue-label-bot[bot] commented 3 years ago

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

hawkeye116477 commented 3 years ago

This function does not work in Waterfox

Waterfox Current or G3 or Classic? In case of Classic Async Clipboard API isn't implemented, so that's may be the problem. So it will work only if document.execCommand is executed inside event handlers.