Greasy Fork is available in English.

Textarea Backup with expiry

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

< Spätná väzba na Textarea Backup with expiry

Otázka/komentár

§
Pridaný: 12.02.2016
Upravený: 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
§
Pridaný: 08.05.2016
Upravený: 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.

§
Pridaný: 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.

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.