Skip to content

Instantly share code, notes, and snippets.

@kristianperkins
Forked from rentzsch/gist:1047967
Created August 12, 2013 03:43
Show Gist options
  • Save kristianperkins/6208105 to your computer and use it in GitHub Desktop.
Save kristianperkins/6208105 to your computer and use it in GitHub Desktop.
tell application "Google Chrome"
set windowList to every tab of every window whose URL starts with "https://mail.google.com"
repeat with tabList in windowList
set tabList to tabList as any
repeat with tabItr in tabList
set tabItr to tabItr as any
delete tabItr
end repeat
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment