Disabling Safari 5.1.x’s & 6.x’s Pop-Up Blocker From Terminal

Standard

Way back in 2010 I posted a little note on disabling Safari’s Pop-Up Blocker From Terminal..

Well it looks like with Safari 5.1.x & 6.x things have changed, the below should now perform the same:

defaults write com.apple.Safari  com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool true

Via MCX:

Display Name: Safari 5.1+ Disable Pop-Up Blocker
Application Domain: com.apple.Safari
Key Name: com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically
Key Type: boolean
Key Value: true

6 thoughts on “Disabling Safari 5.1.x’s & 6.x’s Pop-Up Blocker From Terminal

  1. mike

    I tried the string

    defaults write com.apple.Safari  com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool YES

    without success for Safari 6.0.3 under osx 10.8.3

    • Ben Toms

      try defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2JavaScriptCanOpenWindowsAutomatically -bool true

      Mine is set via MCX & still works.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.