Setting Homepage for Chorme and Firefox in Jamf

tomdavis23
New Contributor

Hello, I have been given a task to set all users homepages to our company website through all browsers. Most of my users use Chrome and Firefox for the Internet. I tried to create a package of a new Firefox dmg with homepage enabled but it failed. I would appreciate any assistance in this matter.

Thanks,

Tom

1 REPLY 1

cbrewer
Valued Contributor II

I'd recommend separating your user settings from app deployment.

Firefox:
https://github.com/mozilla/policy-templates/tree/master/mac
Can be done with a config profile or defaults write. I prefer using a profile.

Chrome:
I use a login script for this one but I'd bet it works with a profile as well.

Homepage="example.com"
defaults write /Users/$3/Library/Preferences/com.google.Chrome.plist HomepageLocation "$Homepage"
chown $3 /Users/$3/Library/Preferences/com.google.Chrome.plist