Enable the "Show Develop menu in menu bar" option in Safari

rcurran
Contributor

Looking for a programmatic way of accomplishing this. I know historically this has been a complicated issue but I'm wondering if in the year of our Lord 2023 there have been any clever advances. Thank you all

Ryan

4 REPLIES 4

rcurran
Contributor

defaults write com.apple.Safari IncludeDevelopMenu -bool true

defaults write com.apple.Safari.SandboxBroker ShowDevelopMenu -bool true

Seems to work. Sorry for this dumb post (and I can't seem to find the delete option lol)

rcurran
Contributor

Follow up to the follow up. This seems to only work for Safari 16. Not 17 :)

easyedc
Valued Contributor II

If you assign it as a configuration profile with the following setting does it work? The domain in question should be the com.apple.Safari.SandboxBroker setting still.

<?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>ShowDevelopMenu</key>
	<true/>
</dict>
</plist>

 Check out the iMazing Profile Editor app if you haven't. It can write it for you with just a check box.

Thank you friend! In my instance I had to use both Safari profiles in iMazing and combine them but it does seem to work!