Skip to main content
Question

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

  • November 2, 2023
  • 4 replies
  • 25 views

Forum|alt.badge.img+10

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

Forum|alt.badge.img+10
  • Author
  • Contributor
  • 66 replies
  • November 2, 2023

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)


Forum|alt.badge.img+10
  • Author
  • Contributor
  • 66 replies
  • November 2, 2023

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


easyedc
Forum|alt.badge.img+16
  • Esteemed Contributor
  • 631 replies
  • November 3, 2023

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.


Forum|alt.badge.img+10
  • Author
  • Contributor
  • 66 replies
  • November 6, 2023

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!