GM_config

From GreaseSpot Wiki
Revision as of 00:02, 27 July 2013 by Sizzlemctwizzle (talk | contribs) (→‎Usage: Direct link to source and add grants.)
Jump to navigationJump to search


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