[Greasemonkey] golden nugget

Aaron Boodman zboogs at gmail.com
Wed May 4 13:06:33 EDT 2005


I was just trying to avoid having to figure out how to make a dialog
with three buttons.

Nothing is as easy in XUL as you would expect.

On 5/4/05, Nikolas 'Atrus' Coukouma <lists at atrus.org> wrote:
> Aaron Boodman wrote:
> 
> >Or Cancel could be understood as view.
> >
> >
> That was my first thought, but I'm not sure it's user-friendly. If you
> choose to not install an extension, FF doesn't download it for further
> contemplation. I know it makes *more* sense here because this is just
> plain text, but I'm don't know if it makes enough sense for Joe User to
> not be bewildered when:
> * They select ok the first time and the script installs. Greasemonkey
> tells them to refresh the page they're currently viewing.
> * They select cancel and are suddenly confronted with a page full of code.
> 
> I guess you can try just using cancel and see how many people are
> puzzled. If you choose this route, you should definitely explain the two
> behaviors on the "Using Greasemonkey" page. A couple sentences like:
> Hitting ok installs the script immediately. hitting cancel brings up the
> source for you to review. If you like what you see, you can install it
> from the Tools menu
> 
> should be plenty on the documentation end.
> 
> In my opinion, adding "View" is worth the bit of effort now to avoid
> overloading the meaning of buttons ("Cancel" would become "Cancel and
> View" otherwise). Maybe you could leave it as one button (under the
> assumption that people will usually want to view the source) and just
> change the label to make the behavior clear?
> 
> Note: I'm not an interface design expert or anything.
> 
> -Nikolas 'Atrus' Coukouma
> 
> >On 5/4/05, Nikolas 'Atrus' Coukouma <lists at atrus.org> wrote:
> >
> >
> >>Aaron Boodman wrote:
> >>
> >>
> >>>What if greasemonkey said "Install monkey.user.js" when you clicked on
> >>>a link ending in .user.js
> >>>
> >>>
> >>Sounds good as long as it's a confirm dialog (Ok/cancel). Hm. My only
> >>concern is still being able to view the source without having to jump
> >>through hoops. Could we add a button for that? It would make it:
> >>Install monkey.user.js?
> >>Ok  Cancel View
> >>
> >>-Nikolas 'Atrus' Coukouma
> >>
> 
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list