rebuilding site Wed Apr 6 05:13:22 PM CST 2022

master
James Feng Cao 3 years ago
parent 0d44352aa7
commit c2044dfba0

@ -77,7 +77,10 @@ function moveDown(ta){
ta.focus();
}
function onSave(fn){
function save(fn){
let u8=new TextEncoder().encode(textarea.value);let r='';for(let i=0;i<u8.byteLength;i++)r+=String.fromCharCode(u8[i]);location.href='i:0l'+fn+':'+btoa(r);
}
function onSave(){
save(location.pathname);
}

Loading…
Cancel
Save