Jeff Johnson (My apps, PayPal.Me, Mastodon)

Feedback Assistant Boycott

Fix Safari Private Window Empty Page

July 31 2024

Dearest gentle reader, this author opens new Safari windows with an empty page, like a proper member of The Ton.

Safari General Settings

A new private window normally appears as below, untitled.

Safari Untitled

Back in April, I posted on Mastodon about a bug introduced in Safari Technology Preview version 192 that caused the start page rather than an empty page to be shown in new private windows. Although a later version of Safari Technology Preview fixed this bug, it nonetheless made its way into Safari version 17.5 and continues to plague Safari 17.6.

Safari Start Page

I thought the purpose of Safari Technology Preview was to find and fix bugs before they affected Safari?

Oddly, the wrong private window appeared on my Mac mini but not on my MacBook Pro. Naturally, then, I decided to diff the output of defaults read com.apple.Safari from the two Macs. After some experimentation, I discovered the culprit: the Safari defaults included the key PrivateBrowsingExplanationState on my MacBook Pro but not on my Mac mini. You can use the following Terminal command to work around the Safari bug and restore the empty page to new private windows.

defaults write com.apple.Safari PrivateBrowsingExplanationState -integer 1

Remember, gentle reader, you heard it first in these pages!

Yours Truly,
Jeff Johnson
(not a pseudonym)

Google: Your search - PrivateBrowsingExplanationState - did not match any documents.

Feedback Assistant Boycott

Jeff Johnson (My apps, PayPal.Me, Mastodon)