If you happened to be using this during the very first week, when it was at https://bliss.coolaj86.com/, fear not!
Just go to https://bliss.coolaj86.com/, open up the inspector console, and you'll find all of your drafts under the application tab.
Here's what you need to export them and re-import them:
Backup the old Drafts from the 404 page
Open the inspector console https://bliss.coolaj86.com, and copy and paste this JavaScript snippet:
var all = [];
var i;
for (i = 0; i < localStorage.length; i += 1) {
var key = localStorage.key(i);
var value = localStorage.getItem(key);
all.push({ key: key, value: value })
}
console.log(JSON.stringify(all));
Hit enter, and you will see a blob of JSON with all of your drafts.
Restore drafts to the new site
Open the inspector console on https://bliss.js.org
First paste the JSON into a new all object:
all.forEach(function (draft) {
localStorage.setItem(draft.key, draft.value);
});
And then refresh your page. TADA! The drafts are restored.
Caveats
A few things I want to do for this
馃槑
If you happened to be using this during the very first week, when it was at https://bliss.coolaj86.com/, fear not!
Just go to https://bliss.coolaj86.com/, open up the inspector console, and you'll find all of your drafts under the application tab.
Here's what you need to export them and re-import them:
Backup the old Drafts from the 404 page
Open the inspector console https://bliss.coolaj86.com, and copy and paste this JavaScript snippet:
Hit enter, and you will see a blob of JSON with all of your drafts.
Restore drafts to the new site
Open the inspector console on https://bliss.js.org
First paste the JSON into a new
allobject:And then refresh your page. TADA! The drafts are restored.
Caveats
A few things I want to do for this
allkey in localStorage馃槑