Skip to content

Commit a9101dd

Browse files
authored
Create SafariSettings.sh
1 parent bee6845 commit a9101dd

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
## Version 1.0
4+
## Compiled by Kevin M. Cox
5+
6+
## Sets the initial Safari settings for users the first time they login
7+
## These settings can then be changed by users
8+
9+
# Prevent Safari from opening 'safe' files automatically after downloading
10+
11+
/usr/bin/defaults write com.apple.Safari AutoOpenSafeDownloads -bool false
12+
13+
# Show full URL in Safari
14+
15+
/usr/bin/defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true
16+
17+
# Show status bar
18+
19+
/usr/bin/defaults write com.apple.Safari ShowStatusBar -bool true
20+
/usr/bin/defaults write com.apple.Safari ShowStatusBarInFullScreen -bool true
21+
22+
# Set Safari's home page
23+
24+
/usr/bin/defaults write com.apple.Safari HomePage -string "https://www.galvnews.com"
25+
26+
# Set new Safari windows to open to Safari’s default homepage:
27+
28+
/usr/bin/defaults write com.apple.Safari NewWindowBehavior -int 0
29+
30+
# Set new Safari tabs to open to an empty page:
31+
32+
/usr/bin/defaults write com.apple.Safari NewTabBehavior -int 1

0 commit comments

Comments
 (0)