Closing Safari JavaScript alerts and other modal windows
Closing Safari JavaScript alerts and other modal windows
- Subject: Closing Safari JavaScript alerts and other modal windows
- From: Evan Chaney <email@hidden>
- Date: Wed, 22 Apr 2009 17:31:28 -0700
Is there a way to close a JavaScript alert in Safari using AppleScript?
For example, this site:
http://shopping.shinhancard.com
…displays a JavaScript alert as soon as the page is loaded. I need to
be able to close that alert so that browsing can continue uninterrupted.
I tried getting the frontmost window and closing it but Safari thinks
the frontmost window is the actual browser window, not the dialog
window.
Thoughts?
Evan Chaney
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden