Skip to content

Instantly share code, notes, and snippets.

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 TheLonelyGhost/6a89ccff3c636343de62abfeda22c280 to your computer and use it in GitHub Desktop.
Save TheLonelyGhost/6a89ccff3c636343de62abfeda22c280 to your computer and use it in GitHub Desktop.
Fix ZApp injection to override Firefox settings
<?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