Created
September 9, 2021 03:34
-
-
Save TheLonelyGhost/6a89ccff3c636343de62abfeda22c280 to your computer and use it in GitHub Desktop.
Fix ZApp injection to override Firefox settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.thelonelyghost.fix-jamf-firefox</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/zsh</string> | |
<string>-c</string> | |
<string>[ ! -e "/Applications/Firefox.app/Contents/Resources/defaults/pref/a1zscaler.js" ] || /usr/bin/sed -i '' -e 's!^pref(!//pref(!g' /Applications/Firefox.app/Contents/Resources/defaults/pref/a1zscaler.js</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StartInterval</key> | |
<integer>900</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment