Textarea Backup with expiry

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

< Feedback de Textarea Backup with expiry

Pergunta/Comentário

§
Publicado em: 12/02/2016
Editado em: 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
§
Publicado em: 08/05/2016
Editado em: 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.

§
Publicado em: 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.

Enviar resposta

Entre para publicar uma resposta.