Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Open Safari tab in Google Chrome
tell application "Safari" to set currentURL to URL of current tab of window 1
tell application "Google Chrome"
delay 0.2
if (exists window 1) and (URL of active tab of window 1 is "chrome://newtab/") then
tell window 1 to set URL of active tab to currentURL
open location currentURL
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.