GM config: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
mNo edit summary
→‎Usage: Repo was moved to GitHub
Line 12: Line 12:
To use this tool in your script, simply include in the [[Metadata Block]]:
To use this tool in your script, simply include in the [[Metadata Block]]:


<pre class='sample'>// @require http://gmconfig.googlecode.com/svn/trunk/gm_config.js</pre>
<pre class='sample'>// @require http://github.com/sizzlemctwizzle/GM_config/raw/master/gm_config.js</pre>


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

Revision as of 00:36, 7 May 2010


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

Description

The purpose of GM_config is to create a very lightweight graphical settings dialog that can be easily used in user scripts through @require. A scriptwrighter using GM_config will pass an JSON object that contains the information about the values to be stored. [1]

Usage

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

// @require http://github.com/sizzlemctwizzle/GM_config/raw/master/gm_config.js

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

See also

Footnotes