[Greasemonkey] Gm Dialogs
Bill Donnelly
donnelly at snowcrest.net
Mon Jun 19 12:16:42 EDT 2006
I might have mentioned this before.
I want some way to create "Gm Dialog" windows.
Or some way to do it, it doesn't, necessarily, have to be thru Gm.
But I want to be able to use it in Gm and with bookmarklets.
Basically, I want something more than a JS confirm() or alert().
Almost something like the way XUL windows are defined, like are
used in the Gm internals (and all extensions). But it doesn't have
to be that complex or feature rich. It could be specified using XML,
I suppose, or something else.
But I want to be able to specify that I want a text box (all of these
one or more, in some order, even straight vertical top to bottom
is okay, it doesn't have to be too fancy), with an optional (for all
appropriate items) label to the right, or maybe above it, and checkboxes
and radio buttons would be nice, and then command buttons with specified
labels on them so there can be more than just Okay and Cancel.
And then some way to get the info once it is entered and selected.
(maybe a named array of values, or an object representing the same,
since it seems the latter is the better way to do it)
Does anyone know of anything that does this now?
You could do each one manually using plain pop-up windows, HTML,
forms and JS. But something a little more automated would be nice.
If the specification was fairly simple so that it wasn't a case where
you might as well do it manually/hard-coded.
Kind of like a "super-confirm" JS function dialog window.
Suggestions and info welcomed and appreciated.
More information about the Greasemonkey
mailing list