Skip to main content
Answer

Disable Safari 5's Pop-Up Blocker via MCX?§

  • May 29, 2012
  • 3 replies
  • 4 views

bentoms
Forum|alt.badge.img+35

Hi All,

I need to disable Safari's pop-up blocker. The older way of doing this does not seem to work on Safari 5.1.5 http://macmule.com/2010/09/25/disabling-safaris-pop-up-blocker-from-terminal/

the below works:

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

But when attempted via MCX nothing seems to be set.. any ideas? (mcx below).

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

Best answer by bentoms

doh!

Application Domain should read: com.apple.Safari & not com.apple.safari..

3 replies

bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • Answer
  • May 29, 2012

doh!

Application Domain should read: com.apple.Safari & not com.apple.safari..


Forum|alt.badge.img+24
  • Valued Contributor
  • May 29, 2012

Wow, case sensitive?!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • May 29, 2012

Yuppas.

Wonder if i've messed over MCX settings by using the wrong case too.

Hmmm...

Also seems the original key works with 5.0.x or maybe 10.6.