Posted on 08-07-2017 06:10 AM
I've searched numerous posts about this and every solution seems to be outdated because it doesn't work. Has anyone been able to set the homepage for Safari/Chrome without locking it? We are rolling out a new intranet and want to temporarily set the homepage so that it's the first thing users see and let them have the option of changing it if they want to. Any help would be appreciated
Posted on 08-07-2017 10:09 AM
For Chrome and Firefox, we were able to do it with a DMG built by Composer that Fills User Templates (FUT) and Fills Existing User (FEU) directories. For Safari, we had to use a script which is currently only working for modifying the User Template:
#!/bin/sh # taken from https://macmule.com/2013/10/27/how-to-set-safari-7-to-open-at-the-homepage/ # taken from https://www.jamf.com/jamf-nation/discussions/19668/homepage-in-safari-9-on-el-capitan # Set default of what new Safari session open with in User Template sudo defaults write /System/Library/User Template/English.lproj/Library/Preferences/com.apple.Safari AlwaysRestoreSessionAtLaunch -bool false # Set default of what new windows open with in User Template sudo defaults write /System/Library/User Template/English.lproj/Library/Preferences/com.apple.Safari NewWindowBehavior -integer 0 # Set Safari Homepage in User Template sudo defaults write /System/Library/User Template/English.lproj/Library/Preferences/com.apple.Safari HomePage -string "[your homepage URL]"
Note that this should likely be set to run once, otherwise users will find their homepages changed whenever these run.
Posted on 01-28-2020 08:36 PM