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

Jupiter9

macrumors member
Jul 2, 2021
62
62
What I complain about is CMD+Q doesn't have any mechanism to prevent accidental press, unlike Chrome/Edge, or a warning popup like FireFox. Q and W are next to each other you know.
but thats one of the main reasons I keep using Safari, holding cmd+Q is annoying

if you accidentally close safari just open it and cmd+shift+T brings everything back
 

Shirasaki

macrumors P6
Original poster
May 16, 2015
16,249
11,745
but thats one of the main reasons I keep using Safari, holding cmd+Q is annoying

if you accidentally close safari just open it and cmd+shift+T brings everything back
Oh ok. If only that works across all scenarios: multiple windows (not just tabs), websites that opened through navigating around, and more. Besides, those browsers might have an option to turn off that safely feature (or maybe I’m wrong since I have no reason to turn that feature off) where safari is “the Apple way is absolutely the best way and all other ways are just wrong wrong wrong wrong wrong”.
 

Artiste212

macrumors regular
Aug 26, 2012
143
73
This article explains the problem and a solution for Cmd-Q in Safari:


...
You could use that script in an Automator Quick Action, restrict it to Safari and save the workflow to ~/Library/Services. Then you can reach it via Safari’s app menu → Services. Then you can redefine the keyboard shortcut for command + Q in System Preferences → Keyboard → Shortcuts → App Shortcuts by adding a new shortcut for Safari that has the exact name as the workflow. Now command + Q in Safari will only call that script.
Back in February, KALLT described a way of using an Applescript in an Automato Quick Action that could be put in the Safari Services menu. The result is that cmd-Q calls the script ONLY in Safari, prompting a dialog asking if you want to quit. I've been using this for over a month and it works great. So if you are one of the people asking for a way to modify cmd-Q in Safari, this is it. It's on page one of this thread. Kudos to frou and KALLT.
 
  • Like
Reactions: frou

svenmany

macrumors demi-god
Jun 19, 2011
2,278
1,519
The Chrome command+Q is a little broken.

I have a website that asks the user for confirmation before they leave the page. Chrome's command+Q handling happens first, before the webpage itself asks for confirmation. If I agree to Chrome's command+Q confirmation (not realizing that I have unsaved changes on the web page), then the page closes. I then get the warning from the website to save my changes, but Chrome has already closed the page.

In point of fact, the webpage is kind of still open. It shows as an entry under the "Window" menu. But, the page is invisible.
 

Jim Lahey

macrumors 68030
Apr 8, 2014
2,734
5,669
iPad OS 15.4.1. Reading List now changing the address for some items and directing me to a completely different webpage. Permanently broken, so if I don’t recall broadly where the original webpage was then it’s lost forever. Sigh.

ETA: Apologies for putting this in a Mac thread. I cross-posted with another Safari related topic I was reading, but hopefully this is broadly relevant as it encompasses all of Safari and iCloud.
 
Last edited:

Jim Lahey

macrumors 68030
Apr 8, 2014
2,734
5,669
iPad OS 15.4.1. Reading List now changing the address for some items and directing me to a completely different webpage. Permanently broken, so if I don’t recall broadly where the original webpage was then it’s lost forever. Sigh.

But because iCloud bookmark syncing is FUBAR, the broken Reading List items remain intact on my Mac as they haven't yet propagated. Every iCloud bug has a silver lining!

What a calamity Apple has become.
 

jonblatho

macrumors 68030
Jan 20, 2014
2,529
6,239
Oklahoma
No "Hold Command+Q to Quit" feature.
I work around this by setting a custom keyboard shortcut in System Preferences to replace Safari's Quit keyboard shortcut with ⌥⌘Q.

System Preferences > Keyboard > Shortcuts > App Shortcuts, if you'd like to do the same:
Screen Shot 2022-04-01 at 8.41.05 AM.png
 
  • Like
Reactions: T'hain Esh Kelch

Shirasaki

macrumors P6
Original poster
May 16, 2015
16,249
11,745
I work around this by setting a custom keyboard shortcut in System Preferences to replace Safari's Quit keyboard shortcut with ⌥⌘Q.

System Preferences > Keyboard > Shortcuts > App Shortcuts, if you'd like to do the same: View attachment 1984734
But it doesn’t work on monterey for some reason after multiple tries. So I gave up fiddling around.
 

jonblatho

macrumors 68030
Jan 20, 2014
2,529
6,239
Oklahoma
But it doesn’t work on monterey for some reason after multiple tries. So I gave up fiddling around.
Works just fine for me, always has. In fact, just deleted that shortcut and reentered it, working perfectly.

You are using option+command+Q, right? It's the only single modifier key that's free to be used with command in Safari without triggering a system keyboard shortcut (shift+command+Q is log out, control+command+Q is screen lock).
 

Shirasaki

macrumors P6
Original poster
May 16, 2015
16,249
11,745
Works just fine for me, always has. In fact, just deleted that shortcut and reentered it, working perfectly.

You are using option+command+Q, right? It's the only single modifier key that's free to be used with command in Safari without triggering a system keyboard shortcut (shift+command+Q is log out, control+command+Q is screen lock).
I already forgot, cause I just installed third party program to provide quit prompt and moved on.
 

a-bob

macrumors member
Aug 15, 2011
44
27
I prefer Firefox over Safari but like the security code autofill that Safari can do via Messages. Have searched for a way to do this on Firefox but have come up empty.
 
  • Like
Reactions: MikeDr206

Jim Lahey

macrumors 68030
Apr 8, 2014
2,734
5,669
My god Safari totally blows. iCloud bookmarks still utterly broken. You'd think by now, after several years of repeat episodes, that Apple would have identified the major causes of these issues and implemented countermeasures.
 
  • Like
Reactions: Wizec

frou

macrumors 65816
Mar 14, 2009
1,391
2,001
Back in February, KALLT described a way of using an Applescript in an Automato Quick Action that could be put in the Safari Services menu. The result is that cmd-Q calls the script ONLY in Safari, prompting a dialog asking if you want to quit. I've been using this for over a month and it works great. So if you are one of the people asking for a way to modify cmd-Q in Safari, this is it. It's on page one of this thread. Kudos to frou and KALLT.
After using it for several months I've actually given up on the AppleScript, because the data it inspects seems be on some kind of time lag, or just plain wrong.

For example, it's quite common I'd get the quit confirmation dialog saying "Are you sure you want to quit, there are 3 windows and 5 tabs" at a time when I DEFINITELY had only 1 window and 1 tab remaining. So the quit confirmation dialog became pointless because I always had to question whether it was a false positive. I thought this might just be a Big Sur quirk, but now that I'm finally on Monterey, it still happened.
 
Last edited:

Jim Lahey

macrumors 68030
Apr 8, 2014
2,734
5,669
I just had a reading list item in Mac Safari that took four DAYS to sync to my other devices.
 

Sumo999

macrumors member
Jul 3, 2021
37
22
I never liked the Safari UI and have used Firefox for many years. Same for IE on my Windows PC where I used Firefox there as well.

The Mac allows alternatives so try Firefox, Chrome or something else. But they all have something to rant about if so inclined.
+1
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.