GM config: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
m (→‎Usage: Direct link to source and add grants.)
(remove us.o)
Line 22: Line 22:


* [https://github.com/sizzlemctwizzle/GM_config/wiki GM_config Wiki]
* [https://github.com/sizzlemctwizzle/GM_config/wiki GM_config Wiki]
* [http://userscripts.org/groups/68 GM_config Dev] group at userscripts.org
* [https://github.com/sizzlemctwizzle/GM_config/ Source, at github.com]
* [https://github.com/sizzlemctwizzle/GM_config/ Source, at github.com]


[[Category:@require Library]]
[[Category:@require Library]]

Revision as of 19:59, 5 June 2014


Note: This tool, despite its name, is not an official Greasemonkey API.

Description

The purpose of GM_config is to create a lightweight graphical settings dialog that can be easily used in user scripts, through @require.

Usage

To use this tool in your script, simply include in the Metadata Block, for example:

// @require https://raw.github.com/sizzlemctwizzle/GM_config/master/gm_config.js
// @grant   GM_getValue
// @grant   GM_setValue

For detailed usage and reference, please see the "wiki" linked below.

See also