-
-
Save kmcnellis/bd72a15a3a01559be2ca to your computer and use it in GitHub Desktop.
Reload Page in Safari or Chrome for mac
This file contains 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
#Google Chrome on Mac | |
#osascript -e 'tell application "Google Chrome" to tell the active tab of its first window to reload' | |
#Safari | |
osascript -e 'tell application "Safari" to set docUrl to URL of document 1 | |
tell application "Safari" to set URL of document 1 to docUrl' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment