[Greasemonkey] window.getAttention

Adriano Bonat adrianob at gmail.com
Sat Feb 18 23:36:24 EST 2006


I have done some tests here and window.focus() does not make the
window manager flash the firefox window.

I'm thinking now that i'll have to implement an extension to do this.

Thanks,
-Adriano Bonat

On 2/18/06, Lenny Domnitser <ldrhcp at gmail.com> wrote:
> On 2/18/06, Adriano Bonat <adrianob at gmail.com> wrote:
> > there is a way to do something like what does window.getAttention with
> > GreaseMonkey, or some way to call this function and the OS or WM take
> > the attention of the user using some way (flashing window list,
> > bringing to front, etc.).
>
> There's window.focus(), which does a bit more than get attention, but
> might be good enough.
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list