:-O
How can I miss this thing ???
looks like a simple way to do what I need ... but I have a little
problem
after fighting with the @require because the script is now located to
https://github.com/sizzlemctwizzle/GM_config/raw/master/gm_config.js
(instead of http:// )
it seems that I can't call the function.
I made the most simple example (copy/paste from the site)
GM_config.init('Configurable Options Script' /* Script title */,
/* Settings object */
{
'Name': // This would be accessed using GM_config.get('Name')
{
'label': 'Name', // Appears next to field
'type': 'text', // Makes this setting a text field
'default': 'Joe Simmons' // Default value if user doesn't
change it
}
});
When I just put :
GM_config.open();
the window open (very ugly, but I guess that I can modify this latter)
when I try to do it from the menu "User Script commands", it doesn't
work !
GM_registerMenuCommand("FGS",'GM_config.open()');
or
GM_registerMenuCommand("FGS",GM_config.open);
nothing appear and no errors in FF Error console !
I'm lost
ericc
On Dec 28, 8:44 pm, Anthony Lieuallen <[email protected]> wrote:
> On 2010-12-27 2:18 PM, ericc wrote:
>
> > This script have some option like the URL of the server where to send
> > data...
> > Is there an other way to do it ? (call directly the function from the
> > GM script)
>
> http://wiki.greasespot.net/GM_config
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.