Skip to content

Instantly share code, notes, and snippets.

@zhuowei
Created June 15, 2021 02:02
Show Gist options
  • Star 70 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhuowei/8ad1dd478df0efeb67baf2088e5cd85e to your computer and use it in GitHub Desktop.
Save zhuowei/8ad1dd478df0efeb67baf2088e5cd85e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UnifiedBar</key>
<dict>
<key>DisclosureRequired</key>
<string>ace440ac-b4f6-4b43-aade-02bba1589aef</string>
<key>Enabled</key>
<false/>
</dict>
</dict>
</plist>

To get old tab bars on Safari for macOS 12, create

/Library/Preferences/FeatureFlags/Domain/Safari.plist

copy the above into it, and reboot.


The feature is controlled by

+[FeatureAvailability isUnifiedBarEnabled]

which calls os_feature_enabled, which searches in /System/Library/FeatureFlags/Domain/Safari.plist and /Library/Preferences/FeatureFlags/Domain/Safari.plist.

I copied the System file, removed the other flags, and changed UnifiedBar to false.

@ToniWonKanobi
Copy link

Is there a way to do this on Big Sur with Safari Technology Preview 14.2 (126)? This method doesn't seem to work.

Did you get this working with STP?

@hacker1024
Copy link

The old layout is now the default in the latest Tech Preview and Monterey Beta. It can be changed to the single-row layout in the preferences.

@ToniWonKanobi
Copy link

The old layout is now the default in the latest Tech Preview and Monterey Beta. It can be changed to the single-row layout in the preferences.

This is random, but do you know if it is possible to move the Bookmarks Bar to above the Tab Bar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment