Is there a way to do this to Chrome?
tell application "Google Chrome"
return URL of front document as string
end tell
... doesn't work.
Now that Chrome (7+) supports AppleScript, you can do this:
tell application "Google Chrome"
get URL of active tab of first window
end tell
Note: "first window" refers to the frontmost window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With