[Seaside] Albatross: clicking on Javascript alert
boxesprogrammatically
Lukas Renggli
renggli at gmail.com
Tue Aug 26 14:50:39 UTC 2008
> No, and it is by design as it would be a huge security hole for browsers if
> you could script OS mouse movement to confirm installation of malicious
> components.
What you can do is to redefine the about() function though, by doing
something like that:
function about (msg) { console.log(msg); }
Now there is no about-box popping up anymore, but you get a log entry
in the console (in Safari and FireFox).
Cheers,
Lukas
>
> Cheers!
>
> -Boris (via BlackBerry)
>
>
> ----- Original Message -----
> From: seaside-bounces at lists.squeakfoundation.org
> <seaside-bounces at lists.squeakfoundation.org>
> To: Seaside - general discussion
> <seaside at lists.squeakfoundation.org>
> Sent: Tue Aug 26 03:59:46 2008
> Subject: [Seaside] Albatross: clicking on Javascript alert
> boxesprogrammatically
>
> Hello,
>
>
> I wonder if it is possible at all to use Albatross (or Javascript for
> that matter) to click the OK button on an alert box. I guess not, but
> I'm no javascript expert.
>
> Thanks in advance
>
> Matthias
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list