Skip to content

Instantly share code, notes, and snippets.

@Martii
Created July 27, 2010 07:07
Show Gist options
  • Save Martii/491870 to your computer and use it in GitHub Desktop.
Save Martii/491870 to your computer and use it in GitHub Desktop.
GM_config.init('Global Test' /* Script title */,
divNode,
/* Custom CSS */
<><![CDATA[
/* lots of CSS code */
]]></>.toString(),
/* Settings object */
{
"checkbox1": {
"label": 'checkbox1',
"type": "checkbox",
"default": true
},
"intbox1": {
"label": 'intbox1',
"type": "int",
"default": 100
},
"intbox2": {
"label": 'intbox2',
"type": "int",
"default": 50
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment