mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
add cheatcode for turning links into downloads
This commit is contained in:
parent
88f77b8cca
commit
908dd61be5
|
@ -1149,6 +1149,7 @@ function repl_load() {
|
|||
if (!ret.length)
|
||||
ret = [
|
||||
'var v=Object.keys(localStorage); v.sort(); JSON.stringify(v)',
|
||||
"for (var a of QSA('#files a[id]')) a.setAttribute('download','')",
|
||||
'console.hist.slice(-10).join("\\n")'
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue