batman (working version kinda)
This commit is contained in:
commit
6dd38036e7
65 changed files with 3950 additions and 0 deletions
9
app/static/js/clipboard.js
Normal file
9
app/static/js/clipboard.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
function copyToClipboard(text) {
|
||||
const elem = document.createElement('textarea');
|
||||
elem.value = text;
|
||||
document.body.appendChild(elem);
|
||||
elem.select();
|
||||
document.execCommand('copy');
|
||||
document.body.removeChild(elem);
|
||||
alert('Copied to clipboard');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue