Greasy Fork is available in English.

Textarea Backup with expiry

Retains text entered into textareas and contentEditables, and expires after certain time span.

< Feedback on Textarea Backup with expiry

Question/comment

§
Posted: 12.02.2016
Edited: 12.02.2016

Need @grant plugin metadata for script to work

Hi,

Just testing this userscript.

As of Greasemonkey 2.0, all userscripts that use special GM functions needs to be added to the script metadata with @grant.

To fix this script, simply add the following to the script metadata:

// @grant         GM_getValue
// @grant         GM_setValue
// @grant         GM_deleteValue
// @grant         GM_listValues
// @grant         GM_registerMenuCommand

Hope that helps somebody.

Otherwise, the script works great! Glad to have this script as a cross-browser textarea cache option.

Deleted user 127
§
Posted: 08.05.2016
Edited: 08.05.2016

Textarea Backup with expiry Fix
https://greasyfork.org/zh-CN/scripts/19509-textarea-backup-with-expiry-fix

Hi,

Just testing this userscript.

As of Greasemonkey 2.0, all userscripts that use special GM functions needs to be added to the script metadata with @grant.

To fix this script, simply add the following to the script metadata:

// @grant         GM_getValue
// @grant         GM_setValue
// @grant         GM_deleteValue
// @grant         GM_listValues
// @grant         GM_registerMenuCommand

Hope that helps somebody.

Otherwise, the script works great! Glad to have this script as a cross-browser textarea cache option.

§
Posted: 12.08.2017

https://gist.github.com/franzalex/6bea78d9809ecb43886ad272cabff0ac

- Fix @grant https://greasyfork.org/zh-CN/forum/discussion/8161
- Added general support for fields
- Added context menu item for conveninetly accessing the restore menu item.

Post reply

Sign in to post a reply.