Use default browser in Apple script?

kelly001

Registered
I have the following simple Apple Script but I'd like the default browser to open the URL and not specifically Safari. Any ideas?

Thanks!

tell application "Safari"
activate
do JavaScript "window.open('http://www.google.com')" in document 1
end tell
 
Back
Top