A little script that enables Adobe Flash Player for Safari on MacOS on all sites. Useful for managed computers.
#!/bin/bash
defaults write com.apple.Safari ManagedPlugInPolicies ' "com.macromedia.Flash Player.plugin" = {
PlugInDisallowPromptBeforeUseDialog = 1;
PlugInFirstVisitPolicy = PlugInPolicyAllowWithSecurityRestrictions;
PlugInHostnamePolicies = (
{
PlugInHostname = "www.adobe.com";
PlugInIsFreshlyExpired = 0;
PlugInPageURL = "http://www.adobe.com/uk/software/flash/about/";
PlugInPolicy = PlugInPolicyAllowWithSecurityRestrictions;
PlugInRunUnsandboxed = 1;
}
);
PlugInRunUnsandboxedOnFirstVisit = 1;
};
'
exit 0
No comments:
Post a Comment