I'm trying to add an URL to allow flash player plugin to work as one of the testing site relies on it. I've tried scripting this and does write it in the plist but doesn't reflect on chrome. I did see the configuration profile method but rather not use that as I've seen inconsistency in the past.
Any help would be appreciated!
#!/bin/sh
# iReady_URL_Chrome.sh
#
#
# Created by jkim on 5/2/17.
#
LIU=`ls -l /dev/console | cut -d " " -f 4`
sudo defaults write /Users/$LIU/Library/Preferences/com.google.Chrome.plist PluginsAllowedForUrls ""[*.]i-ready.com""