Refresh Frontmost Chrome Tab


/ Published in: AppleScript
Save to your folder(s)

Useful for developing with Chrome + TextMate


Copy this code and paste it in your HTML
  1. osascript <<'APPLESCRIPT'
  2. tell application "Google Chrome"
  3. tell active tab of first window
  4. execute javascript "window.location.reload()"
  5. end tell
  6. end tell
  7. APPLESCRIPT

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.