![]() ![]() #!/bin/bashĬurrentUser=`python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + "ĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ HomePage -string $HomePageĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ NewWindowBehavior -int 0ĭefaults write /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/ NewTabBehavior -int 0Ĭhown $CurrentUser /Users/$CurrentUser/Library/Containers//Data/Library/Preferences/. The next time Safari is opened it will open the listed URL. Note 2: If you attempt to check the URL in the General Tab, the browser will default to the listed URL. As of now, this works on Mojave and Catalina. Private Browsing mode doesn’t save your history and keeps your browsing your business. Passwords, bookmarks, history, tabs and more seamlessly sync across iPhone, iPad and Mac. As I mentioned above, the URL in the General Tab will not change. With Safari you can browse sites, translate webpages, and access your tabs across iOS, iPadOS, and macOS. When the script is finished, Safari should open your new homepage. Note: Make sure that safari is closed before running the script. Oh well, this is probably as good as it's going to get. Oddly enough, the GUI doesn't change the homepage URL. standard 20:40:12.267779+0100 CoreAnimation: failed to receive fence reply: 10004003. The Safari homepage is changed without being locked by a configuration profile. After scouring multiple jamf nation posts and blogs, I think I've finally figured out how to do this. ![]()
0 Comments
Leave a Reply. |