Textarea Backup with expiry

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

< Commentaires sur Textarea Backup with expiry

Question / commentaire

§
Posté le: 2016-02-12
Édité le: 2016-02-12

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
§
Posté le: 2016-05-08
Édité le: 2016-05-08

Textarea Backup with expiry Fix
https://greasyforks.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.

§
Posté le: 2017-08-12

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

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

Poster une réponse

Connectez-vous pour poster une réponse.

长期地址
遇到问题?请前往 GitHub 提 Issues。