Make reload-tab script work with Safari.