Created
January 8, 2024 15:19
-
-
Save semanticart/a1c2328e9f12d0f3844a60930af46de3 to your computer and use it in GitHub Desktop.
reload chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chmod +x this and throw it somewhere in your path