Skip to content

Instantly share code, notes, and snippets.

@jacobsalmela
Created January 5, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobsalmela/fea1c1eb9b3b1d1a8aa9 to your computer and use it in GitHub Desktop.
Save jacobsalmela/fea1c1eb9b3b1d1a8aa9 to your computer and use it in GitHub Desktop.
Enable Java and pop-ups for Pearsons wonderful product.
echo '<?xml version="1.0" encoding="UTF-8"?>' > /Library/Preferences/com.google.Chrome.plist
echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' >> /Library/Preferences/com.google.Chrome.plist
echo '<plist version="1.0">' >> /Library/Preferences/com.google.Chrome.plist
echo ' <dict>' >> /Library/Preferences/com.google.Chrome.plist
echo ' <key>EnabledPlugins</key>' >> /Library/Preferences/com.google.Chrome.plist
echo ' <array>' >> /Library/Preferences/com.google.Chrome.plist
echo ' <string>Java*</string>' >> /Library/Preferences/com.google.Chrome.plist
echo ' </array>' >> /Library/Preferences/com.google.Chrome.plist
echo ' </dict>' >> /Library/Preferences/com.google.Chrome.plist
echo '</plist>' >> /Library/Preferences/com.google.Chrome.plist
defaults write /Library/Preferences/com.google.Chrome.plist DefaultPopupsSetting -int 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment