Hi Jamf Community,
I have been scouring the internet and developing my own script to pull the installed browser extensions from Firefox.
Does anyone have this working in their environments?
Problems I'm running into in my scripts
- /Users/USERACCOUNT/Library/Application Support/Firefox/Profiles/* is profile driven, so there could be multiple profiles with different addons
- addons.json file is problematic to work with. Formatting of the output is frustrating, looking to pull just the extension name and version in CSV format
- I was able to achieve this using the jq CLT command, extensions=$(cat "$addonsJson" | jq -r '.addons | map({name: .name, version: .version}) | .[]')However I dont want to install this CLT on every system for an EA.
- I was able to achieve this using the jq CLT command,
Any help would be appreciated. Hoping there is a recent solution available that i missed.