Have you ever started typing a post and did something silly that suddenly made you lose what you had written? Maybe you hit the backspace key and your browser thought you wanted to go back a page, instead of back one letter. Maybe you accidentally hit reload on the page, or accidentally closed your tab or window. Or maybe your computer did something stupid, and crashed your browser.
Regardless of what caused it, you probably weren't too happy to lose what you had written. Here are 5 quick tips for ways to avoid nuking your content accidentally, or how to recover what you have written after disaster strikes:
1. Don't Compose in a Web Browser
Although painfully obvious, it has to be said – if you're drafting your post in something besides a web browser, you'll probably avoid 99% of all the problems you face with accidentally deleting your draft post content. Most text editors nowadays have built-in auto-save features, so you can even set up your file to back up as often as you feel is necessary. As an added benefit, you'll have a soft-copy of your post saved on your computer in the unlikely event that the publishing system hiccups and your post that you just submitted disappears into the aether.
2. Save as a draft intermittently (Vox-specific)
If you don't want to go through the "hassle" of using a separate program to compose your posts, take advantage of your blogging system's features – for example, in Vox you can save your post as a draft, and then go back and edit to add additional content. If you lose something you type, you can always revert back to the version you had previously saved as your draft (hopefully without losing too much content in the process!)
3. Use the "Recover" features (Vox-specific)
You may have noticed that as you begin typing your entry in the Vox compose screen, a small link pops up next to the spell-check button. This Recover link usually allows you to get back what you had written, in the event you accidentally closed the window or your web browser happened to crash while you were composing a post. When you return to the Compose window, you should see the "Recover" link directly above the post body. Click that link and it will recover your previous post for you. Your mileage may vary with this solution, but it's usually better than nothing!
4. Use a Greasemonkey script to prevent unwanted page-changes
The "Protect Textarea" greasemonkey script (found here and featured here on lifehacker) monitors the textareas on a web page and alerts you if you try navigating away from the page before submitting the changes in the textarea. Although it will not work for you all the time, and may be more hassle than it is worth for some people, you'll be pretty happy the first time you accidentally click a link that was going to take you away from your post or blog comment and this popup intervenes.
5. Open compose screen in a new window/tab
A very simple way to combat the infamous "backspace blunder" is to make sure there is no page to go back to while you are composing a post. If you choose to compose a post in a new tab or window, the backspace key will never move you away from your compose screen, because there's no page in your browser's history to return to! On modern browsers, a middle-click of your mouse button on a link will open the link in a new tab or window (depending on your browser's default settings). Alternately, right click on a link and select "Open in a new tab" to do this the old-fashioned way. Combine this with tip #2 above for extra security.