How can I allow "See text and images you copy to the clipboard" message in CEF ?
I need to allow it because my JS library is reading text and images to paste to canvas.
I looked at the events but I couldn't see any event about the permissions.
I am using navigator!
like this;
Code: Select all
navigator.permissions.query({ name: "clipboard-read" }).then(result => {
if (result.state == "granted" || result.state == "prompt") {
navigator.clipboard.read().then(data => {
.......
});
}
});
