How can I reload all tabs in safari
Once upon a time there was an option to reload all tabs in Safari by right-clicking on any tab. That's either gone or hidden. If the latter, can anyone share the secret? Thanks
Once upon a time there was an option to reload all tabs in Safari by right-clicking on any tab. That's either gone or hidden. If the latter, can anyone share the secret? Thanks
This extension works, but it is in the Safari toolbar. I got used to using it immediately, but would like the contextual menu function back. Get it from Safari Extensions and drag it to the toolbar. https://safari-extensions.apple.com/?q=reload
I can confirm it is gone in the official release as of ten minutes ago. Both 'Reload this tab' and 'Reload all tabs' are not present. Right-click or command-click do not enable the feature either. THAT was a very useful feature, and please put it back Apple.
I found this "work round" for this issue:
Open Automator and have it start a new document. Choose "Service" for the type of document. At the top of the window click the pop up button and scroll to the bottom and choose "No Input". For the next button choose the Safari application.
Next using the Automator's library, double-click on "Run Applescript" and the framework for it will show up in the right hand pane. In this pane copy the following script:
tell application "Safari"
repeat with i from 1 to the count of windows
set this_win to (window i)
repeat with j from 1 to the count of every tab in this_win
do JavaScript "window.location.reload()" in (tab j of window i)
end repeat
end repeat
end tell
Now save this, I named mine "Reload All Tabs" and close Automator. Or you can test is by running it from Automator.
No matter if you have three tabs, or if like me, 38 tabs, they all reload when you run this script. The only caveat I will say that it will throw up an error that you can just click OK to. I have figured out what the error is coming from but it causes no harm.
error "Safari got an error: AppleEvent handler failed." is the error and the explanation is:
"the application doesn't know what those commands are, passes the error up the chain to AppleScript, but AppleScript knows what they are and does it."
Cheers and hope this helps!
I am using 9.0.1 as well. I guess the feature was too useful so it's been discontinued... ;-)
You are right, I can not find this function in Safari anymore. If someone find how to solve it, I hope he will write it here!
That's good information to have, but the person I was responding to did not specify which version of Safari he was using, so I had to work off the assumption that we both were running 8.0.1, and thus that's the advice I gave.
I used this feature all the time in the previous versions of Safari and I always use a number of tabs or a preset tab group; it doesn't make sense to remove it. I hope they put it back in a version update. Could the addition of pinned tabs be why it is gone?
when you are in Automator, you first tell it you want to do a "New" Service. Then follow the steps I outlined, then save as a service. The new service (whatever you named it" will show up under Safari > Services. I have mine named "Reload All Tabs"
Hope this clarifies it.
Cheers!
Thanks rruggles, this was almost exactly what I was looking for. The only difference between your workflow and the behavior of the contextual menu item in the previous versions of Safari is your script reloads every tab of every window, while the Safari item only reloaded every tab of the window you were clicking on. I was able to replicate that with just a couple minor changes to your script.
tell application "Safari"
repeat with j from 1 to the count of every tab in window 1
do JavaScript "window.location.reload()" in (tab j of window 1)
end repeat
end tell
And then by going to System Preferences -> Keyboard -> Shortcuts I was able to add a keyboard shortcut so I can ran the action without having to go to the services menu.
That option is long gone--beginning with Yosemite. It was a useful feature. I can't imagine why Apple would take it away unless the tabs (i.e., pages) are being refreshed (i.e., reloaded) automatically reasonably frequently. Does anyone know how frequently tabs are reloaded automatically, if at all, in Sierra?
Hold down Control, click on a tab, then select "Reload all tabs." You can also right-click on the tab and select "Reload all tabs" as well; it's not gone.
On my version of Safari 9.0.1 within El Capitan, it's gone, the option is no longer available
command R will reload the tab
How can I reload all tabs in safari