reload all tabs

Why (or where) the "reload all tabs" is gone ?


I work with 33 tabs, ans sometimes, I need to reload all of them

iMac, Mac OS X (10.7.3)

Posted on Oct 1, 2015 11:37 AM

Reply
10 replies

Oct 14, 2015 12:11 AM in response to denisfromquebec

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! 😎

Oct 14, 2015 10:45 AM in response to pinkstones

pinkstones wrote:


33 tabs open at once seems excessive.


When I work these forums I have about 18 open at one time--one for each forum area I haunt. So the OP is not alone; there are reasons to have a lot open. I've done that innApple Discussions and ASC since Safari got tabs and I was invited to help here about 2000-2001. Loss of the reload-all-tabs function is a step back in features,


Until Safari 9, having this many open caused zero issues for me on either my iMacBook Pro. Now I've held off upgrading the iMac until I can find a work-about for this or Apple fixes their slip-up. Seems like "updates" lately really mean "removal of useful features."

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

reload all tabs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.