Skip to content

Instantly share code, notes, and snippets.

@Dafin
Created February 27, 2018 19:41
Show Gist options
  • Select an option

  • Save Dafin/c3901b93ea182246b93b68447f05a0a9 to your computer and use it in GitHub Desktop.

Select an option

Save Dafin/c3901b93ea182246b93b68447f05a0a9 to your computer and use it in GitHub Desktop.

Revisions

  1. Dafin created this gist Feb 27, 2018.
    4 changes: 4 additions & 0 deletions Refresh_Safari.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    tell application "Safari"
    set docUrl to URL of document 1
    set URL of document 1 to docUrl
    end tell