is there way to automate homepage settings on all browsers?

sunil_reddy
New Contributor II

is there a bash script that can be used in a plist/launchdaemon for automating homepage settings? to automate means to set my company's website as homepage always.

2 REPLIES 2

cbrewer
Valued Contributor II

One script? Probably not. Every browser has a different method for doing this.

For Firefox, look into their new policies.json file.
https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson

For Chrome, look at setting the HomepageLocation key in ~/Library/Preferences/com.google.Chrome.plist
https://www.chromium.org/administrators/mac-quick-start

For Safari, look at setting the HomePage key in ~/Library/Preferences/com.apple.Safari.plist

Cornoir
Contributor II

Recent discussion regarding this subject including my script:

https://www.jamf.com/jamf-nation/discussions/28416/setting-browser-homepages-via-script