Skip to content

Instantly share code, notes, and snippets.

@zhuowei
Created June 15, 2021 02:02
Embed
What would you like to do?
<?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

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