How to Configure Safari Pop-up Windows on Mac

Safari Browser

Pop-up windows are trademarks of shady websites, but legit websites also use them. Whenever you get a pop-up window in Safari, by default the browser will block it and notify you. This can be very helpful if it’s a pop-up ad. On the other hand, if it’s a webpage that you need to get to, this is obviously counterproductive. In today’s post, we look at how to configure pop-up windows in Safari running on macOS Catalina.

How to Configure Safari Pop-up Windows

First, have Safari open and click on Safari in the Menu Bar and select Preferences. The keyboard shortcut for this is Command-Comma (⌘,).

Then, click on Websites, and to the left at the bottom, click on Pop-up Windows.

In the Pop-up Windows configuration screen, you’ll see Currently Open Websites and Configured Websites.

To configure pop-up windows for any of the websites, simply pick from one of three options – Block and Notify which is the default option, Block, and Allow.

To remove configuration you had previously saved, select the website and click on Remove at the bottom. 

Finally, if you would like to make changes to how Safari deals with pop-up windows when visiting other websites, choose one of the three options in the bottom right corner.

Configure Pop-up Windows for Safari on Mac


How to Recover Closed Browser Tabs – Chrome and Safari on Mac and iPhone

How to Recover Closed Browser Tabs - Chrome, Safari, iOS 13, macOS CatalinaAccidentally closing a browser tab can be infuriating. Fortunately, the process is easy to undo for both Chrome and Safari. Here’s how you can recover closed Chrome or Safari browser tabs on a Mac or an iPhone.


How to Recover A Closed Chrome Tab in macOS

To reopen a closed Chrome tab on a Mac, press Shift-Command-T (⇧⌘T) on the keyboard.

Recover Closed Chrome Tab on Mac Shift-Command-T

How to Recover A Closed Chrome Tab in iOS

To recover a closed Chrome tab on an iPhone, first, tap the More (More tab bar icon) button on the bottom right of the screen, and then tap Recent Tabs.

Recover Recent Chrome Tabs on iPhone


How to Recover A Closed Safari Tab in macOS

To reopen a closed Safari tab on a Mac, use the “undo” keyboard shortcut Command-Z (⌘Z).

Recover Closed Safari Tab on Mac Command-Z

How to Recover A Closed Safari Tab in iOS

To recover a closed Safari tab on an iPhone, tap the Tabs button on the bottom right of the screen, and then tap and hold on the Plus (Add navigation bar and tab bar icon) button in the middle of the screen to bring up the Recently Closed Tabs window. From there, you can pick any tab to recover.

Safari on iPhone Add New Tab Tap and Hold to Recover Closed Tabs

Do you find these tips on how to recover closed browser tabs helpful? If you would like to learn more Safari keyboard shortcuts, check out this post.

How to Extract Images from A .webarchive File Using Terminal

One way to extract content from a .webarchive file is through the Terminal app. The command to use is textutil convert -html.

Saving webpage as a .webarchive file in Safari

The Ariel Atom and Ariel Nomad are unique and beautiful cars. In fact, they are so unique and beautiful I wanted to use images of them for desktop wallpapers.

While there must be other places to look for the images, for me the most obvious choice was Ariel North America’s website. They make the cars, so if anyone’s got great photos it’s them.

A lot of the high-resolution images on the website are available for download and they make for amazing wallpapers too. You just simply need to click on them.

That’s the easy part.

The difficult part is getting those beautiful images the site uses in the banners. You can click on them all you want, but you just don’t get a download or save option.

By now I should mention I was using Safari on my Mac.

First, I tried to save the whole web page in hopes I could somehow maybe get a Zip file with the images in it. However, Safari only allows web pages to be saved in two formats, Page Source and Web Archive. The first one merely saves the source text, while the second one saves the source text as well as the images and other contents. I went with the second format and got a .webarchive file.

Saving Page with Safari Format One: Page SourceSaving Page with Safari Format One: Page Source
Saving Page with Safari Format Two: Web ArchiveSaving Page with Safari Format Two: Web Archive

Now the .webarchive file is not something that you can open using the stock Archive Utility app, or the commonly used third party app “The Unarchiver”.

Also, you might wonder if it helps to change the file’s extension name to .zip. Well, it doesn’t. 

Extracting content from .webarchive file

One way to extract the images from the .webarchive file is through the Terminal app. Here’s how.

1 – First, press Command and space to launch Spotlight, type in “Terminal” and hit Enter. That’ll open the Terminal app.

2 – Then type in this command without hitting Enter. Note there is a space at the end after “html”. 

textutil -convert html

3 – Lastly, drag the .webarchive folder into Terminal. Hit Enter and you’ll find all the extracted files in the same folder where the .webarchive file is located. Using Terminal Command to Extract Images from .webarchive FileOh, one more thing, did I mention I was using Safari to visit the site and download images? It turns out it’s much easier with Google’s Chrome.

With Chrome, you can simply save the web page using the “Webpage, Complete” format and that’ll give you a folder with all the page content in it, including the images.

Saving Web Page with Chrome

Lesson of the day?

If there’s anything that I learnt from this experience, it’s that Chrome is a better web browser. I mean, Safari and Edge are great too, especially when you use them to download Chrome.

7 Easy and Useful Safari Keyboard Shortcuts

Work in Safari a lot and want to be even more productive? Here are 7 easy and useful Safari keyboard shortcuts that can help.

Open a new window with private browsing enabled: Command (⌘) + Shift (⇧) + N

Now we all know Command + N will give you a new window and that’s nothing new. Something you probably didn’t know is that Command + Shift + N gives you a new window with private browsing enabled.

Private browsing is not really private or hack-proof, especially when you use a browser managed by an organization or if you like clicking on questionable links, but it does save you the trouble of having to delete your browsing and search history, and let’s be honest we all have browsing histories that we don’t want remembered.

Create a new tab: Command (⌘) + T

While Command + N and Command + Shift + N will give you new windows, Command + T will give you a new tab.

Switch between tabs: Control (⌃) + Tab (⇥) & Command (⌘) + number keys

We all like working in tabs but it could be a pain when there are too many of them open. These two shortcuts help you navigate this very situation.

If you want to switch to a tab and you could easily tell which one it is, say the 5th tab, pressing Command and the corresponding number key, 5 in our case, will get you to that tab instantly.

If you want to switch between all your tabs one by one, pressing Control + Tab will do just that trick.

Close a tab or window: Command (⌘) + W & Command (⌘) + Q

Want to quickly close a tab? Pressing Command + W will close the current tab you are on. Want to quit the app and close all open tabs? The good old Command + Q will get you there.

Yes, these two combos have the side effect of making you look suspicious.

Jump to the URL/search bar: Command (⌘) + L

This last shortcut we have gets you to the URL/search bar instantly.

Remember it’s all about muscle memory when it comes to thees Safari keyboard shortcuts or any kind of keyboard shortcuts. Once you’ve trained yourself into using these, you won’t want to go back.

Got a shortcut you want to share with us? Feel free to let us know by leaving a comment.