parent
c4e53afdf1
commit
abd9218561
19 changed files with 242 additions and 176 deletions
|
@ -1,13 +0,0 @@
|
|||
function copyElem(id, r='') {
|
||||
navigator.clipboard.writeText(
|
||||
document.getElementById(id).innerText.replaceAll(r, ''),
|
||||
);
|
||||
}
|
||||
|
||||
function copyFile(id) {
|
||||
fetch(document.getElementById(id).childNodes[0].href).then(f => {
|
||||
f.text().then(t => {
|
||||
navigator.clipboard.writeText(t);
|
||||
})
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue