3 ms·
If one only needs a scratch pad, localStorage works. Just save this to a file and load the file into Chrome: <html contenteditable="true"><body></body></html
by adamredwoods 4y ago
If one only needs a scratch pad, localStorage works. Just save this to a file and load the file into Chrome:
<html contenteditable="true"><body></body></html>
<script>
const a=localStorage.getItem('saved-text-data');
document.querySelector('body').innerHTML=a;
setInterval(()=>{localStorage.setItem('saved-text-data', document.querySelector('body').innerHTML);}, 2000);
</script>
- leros 4y agoI just about considered buying a short domain and putting this code up on there