Is it possible to use a macro to turn a Safari tab into a separate window? I searched the forum but didn't find anything related. I also searched but found no keyboard shortcut in Safari to detach a tab.
I'm pretty new at KM so I thought I'd ask.
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
tell application id "com.apple.Safari"
tell front window
set currentURL to URL of current tab
close current tab
end tell
make new document
set URL of front document to currentURL
end tell