Retains text entered into textareas
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
demo.html
textarea-backup.user.js

README.markdown

Textarea-backup.js (localStorage)

Textarea-backup.js (localStorage) is based on Textarea Backup by broquaint. The main difference between them is data storage.

The script by broquaint is using GM_getValue/GM_setValue, proprietary Greasemonkey functions. As far as I know, only Firefox Greasemonkey support it.

Mine script using HTML5 localStorage. Last versions of Firefox, Chrome, Safari, Opera, and Internet Explorer support it.

How it works

Open twitter.com and type something in the status box. Close the tab. Open twitter.com again. Your text will be still there.

How to install

For Firefox Greasemonkey, Google Chrome, and Safari GreaseKit users: just click on textarea-backup.user.js

For Opera users: download textarea-backup.user.js and rename it to textarea-backup.js (without “user”).