RapPad performs the following when writing lyrics:
- Whenever you leave a page and there's unsaved changes, you should get a prompt asking to save your changes
- On each key stroke we save your rap by its ID to the browser. Once you save, we clear this storage, and save the rap to the cloud.
If you accidentally forgot to save or find your rap is missing, you can try the following script to retrieve it from your browser's storage.
for (var key in localStorage) {
if (key.indexOf('lyricsBackup') >= 0) {
console.log(localStorage.getItem(key))
}
}
To run the script, open up your browser's console and copy and paste the above script. If you're lucky, your rap will be printed out to the console.