[Greasemonkey] User input
zboogs at gmail.com
Sun Mar 26 18:56:45 EST 2006
Not a bad idea.
One could see using the sidebar for this. What would you prefer, a XUL
or HTML surface? Maybe both could be provided.
On 3/24/06, Brendan J <verifex at gmail.com> wrote:
> I haven't used GM_RegisterMenuCommand in a while, simply put, because it
> wasn't very good, either because firefox doesn't give it alot of control, or
> FF just didn't like it, or GM just doesn't let the scripts have alot of
> control of that aspect. That being said, using GM_setValue and GM_getValue
> with combinations of GM injected form elements, alerts, confirms, and
> prompts, are all much more full-featured ways to get userinput.
> One thing I would like to see however, is a special GM_ONLY part of the DOM
> added, so that all of us GM script writers can leverage that part of the
> page to provide solid UI when we need to, or when we need to perform
> operations all the time. Basically just for scripts that don't like
> counting on the hosting page to work properly, for the script to work
> properly. Although I suspect that is probably a really hard thing to do.
> On 3/24/06, arantius at gmail.com <arantius at gmail.com> wrote:
> > Steve wrote:
> > > I saw that menu options are possible, but I missed seeing anything
> > > about user input.
> > GM_RegisterMenuCommand in a function.
> > In that function prompt() the user for data and GM_SetValue it.
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
More information about the Greasemonkey