mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-20 08:00:58 +00:00
Merge branch 'main' of https://github.com/redlib-org/redlib
This commit is contained in:
parent
80e0d539fa
commit
d0d2c22e94
23 changed files with 985 additions and 374 deletions
9
static/copy.js
Normal file
9
static/copy.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
async function copy() {
|
||||
await navigator.clipboard.writeText(document.getElementById('bincode_str').value);
|
||||
}
|
||||
|
||||
async function set_listener() {
|
||||
document.getElementById('copy').addEventListener('click', copy);
|
||||
}
|
||||
|
||||
window.addEventListener('load', set_listener);
|
Loading…
Add table
Add a link
Reference in a new issue