GM_config

From GreaseSpot Wiki
Revision as of 22:27, 13 March 2015 by Sizzlemctwizzle (talk | contribs) (Recommend the OUJS url since it is whitelisted by GreasyFork and the script page will automatically link to the library page on OUJS.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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://openuserjs.org/src/libs/sizzle/GM_config.js
// @grant   GM_getValue
// @grant   GM_setValue

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

See also