document.addEventListener('copy', (e) => {
// here you can catch ctrl+c
// and for example write the value in variable inputof / storadzh
});
document.addEventListener('paste', (e) => {
// and then ctrl+v
});
document.addEventListener('copy', function(e){
e.clipboardData.setData('text/plain', 'you don't copy');
e.preventDefault();
});
Find more questions by tags ExcelJavaScript
1) go to the Excel program with the table. There is something written
2) allocate 2 cells and copy
3) I went to the page browser. There I have a button and 2 input
4) press the button and inutah appear data from cells. 1 first, 2 of second.
But as I have read, you understand, that on the contrary.
I tried using
navigator.clipboard.readText()
But there is a line of cells sanctinaumi not understand it. Roofing special roofing symbol of how multiple spaces - Claudi commented on April 19th 20 at 12:21