Toggle between Safari Technology Preview and normal Safari (or between any browsers)

Update, ver 1.0.4 (2020-03-07)

  • Updated for Swift 5
  • Removed fallback code for Swift 2 and 3
  • Added error checks
  • Notification now shows app version and path

Screen Shot 2020-03-07 at 14.10.12-pty-fs8

Default Browser Toggle (Safari:STP) - 1.0.4 <F948 200307T142203>-pty-fs8
Default Browser Toggle (Safari:STP) - 1.0.4 <F948 200307T142203>.kmmacros (10.0 KB)

You can use the macro also to toggle between other browsers than Safari and STP. For example, to toggle between Safari and Firefox replace com.apple.SafariTechnologyPreview in the Swift script with org.mozilla.firefox .