Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

timpotterf

macrumors newbie
Original poster
Aug 9, 2019
2
0
Drives me insane that I have to drag and resize it every time I open Safari. Tried to find a solution on here, including one user's solution from 2018 which they claimed worked which was typing defaults delete com.apple.Safari "NSWindow Frame BrowserWindowFrame" into terminal, but all it says is
Domain (com.apple.Safari) not found.
Defaults have not been changed.

Very frustrating and just want to have everything straightened out!
 

NoBoMac

Moderator
Staff member
Jul 1, 2014
6,244
4,931
What works for me: Safari > Quit, restart Safari, adjust window location/size, Safari > Quit again, restart.

Where locations get messed up, from what I notice, is if opening multiple windows: usually same size, but location gets remembered for the new window(s). Why I use tabs.

Also works for Finder windows: close Finder window, re-open Finder window, adjust, close window.
 

Fishrrman

macrumors Penryn
Feb 20, 2009
29,175
13,225
1. close all Safari windows (but don't quit the app)
2. open a new Safari window
3. resize and locate it "to your liking"
4. once more, quit Safari.

I don't believe there is any "default" setting for where or how large the window is when Safari opens.
What happens is, Safari "remembers" where the last open window was (and its size), when it re-opens again.
 

melxmat

macrumors newbie
Oct 27, 2020
1
1
What worked for me is enabling Full Disk Access first, for the Terminal app. You can do this through the following steps:
1. Open Settings.
2. Click Security & Privacy.
3. Select the Privacy Tab.
4. Scroll to find "Full Disk Access".
5. Click the lock icon on the bottom-left to allow changes. You need to enter your password.
6. Under Full Disk Access, find "Terminal" from the list and tick the checkbox.
7. Click the lock icon again to prevent further changes.

And that's it, try to run defaults delete com.apple.Safari "NSWindow Frame BrowserWindowFrame" again in the terminal and it will work now.
 
Last edited:
  • Like
Reactions: alexjohnson

alexjohnson

macrumors member
Nov 22, 2010
67
13
What worked for me is enabling Full Disk Access first, for the Terminal app. You can do this through the following steps:
1. Open Settings.
2. Click Security & Privacy.
3. Select the Privacy Tab.
4. Scroll to find "Full Disk Access".
5. Click the lock icon on the bottom-left to allow changes. You need to enter your password.
6. Under Full Disk Access, find "Terminal" from the list and tick the checkbox.
7. Click the lock icon again to prevent further changes.

And that's it, try to run defaults delete com.apple.Safari "NSWindow Frame BrowserWindowFrame" again in the terminal and it will work now.
Perfect: thanks melxmat. Had this on my MacBook but forgot about Full Disk Access on my Mac mini.

It is such a UI blind spot Apple has that people want the windows to be exactly like they were on "day one." When I accidentally move a window that I want to be perfectly centred on my screen, it drives me crazy.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.