textarea-backup.js
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Retains text entered into textareas
Textarea-backup.js (localStorage)
=================================

Textarea-backup.js (localStorage) is based on [Textarea Backup](http://userscripts.org/scripts/show/7671) by *broquaint*. The main difference between them is data storage.

The script by *broquaint* is using [GM_getValue](http://wiki.greasespot.net/GM_getValue)/[GM_setValue](http://wiki.greasespot.net/GM_setValue), proprietary Greasemonkey functions. As far as I know, only Firefox Greasemonkey support it.

Mine script using [HTML5 localStorage](http://dev.w3.org/html5/webstorage/). 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](/NV/textarea-backup.js/raw/master/textarea-backup.user.js)

For Opera users: download [textarea-backup.user.js](/NV/textarea-backup.js/raw/master/textarea-backup.user.js) and rename it to textarea-backup.js (without “user”).

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。