Skip to content

Instantly share code, notes, and snippets.

@semanticart
Created January 8, 2024 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semanticart/a1c2328e9f12d0f3844a60930af46de3 to your computer and use it in GitHub Desktop.
Save semanticart/a1c2328e9f12d0f3844a60930af46de3 to your computer and use it in GitHub Desktop.
reload chrome
#!/usr/bin/osascript
tell application "Google Chrome"
set i to (count of windows)
repeat while i > -1
set theWindow to window i
set t to (title of (window i))
if t does not contain "DevTools" then
tell application "Google Chrome" to reload active tab of window i
end if
set i to i - 1
end repeat
end tell
@semanticart
Copy link
Author

chmod +x this and throw it somewhere in your path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment