Can't find a definite answer online. Does Safari put the idle tabs to sleep or not? I know most Chromium based browsers do.
I am not very technical, but I assume that was a no, thank you!The default configuration is Background Tab Suspension disabled.
Code:defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension
returns "does not exist"
View attachment 1942429
defaults write com.apple.Safari IncludeInternalDebugMenu -bool YES
Thank you! Maybe you also know a way for Mac Mail not to show inline attachments? As in preview the 1 page documents in body? There is a command online, but it don't work any more Big Sure and Monterey seem to have changed.To enable Background Tab Suspension
- close Safari
- enable the Debug menu with
Code:defaults write com.apple.Safari IncludeInternalDebugMenu -bool YES
- start Safari and uncheck the Disable Background Tab Suspension seen in the image above
Some info about the Debug menu https://osxdaily.com/2011/11/07/safari-debug-menu/
To enable Background Tab Suspension
- close Safari
- enable the Debug menu with
Code:defaults write com.apple.Safari IncludeInternalDebugMenu -bool YES
- start Safari and uncheck the Disable Background Tab Suspension seen in the image above
Some info about the Debug menu https://osxdaily.com/2011/11/07/safari-debug-menu/
$ defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist | grep -Ei '(background|suspend)' | grep -i tab
$
If you are referring to the Debug menu, it is not intended for regular users.December 2023 with macOS Sonoma with Safari 17 and still no Debug option visible 😪
defaults read ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension
defaults write ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension -bool YES
defaults delete ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist WebKitTabSuspension