Most sites are fine at either 85% or 100% but some would really benefit from a 90% or 95% zoom so I'm not sure why that's not an option, it's so simple.
This still doesnt let you set the zoom at 90%, only 75% - 85% - 100%Change Websites settings in Safari on Mac
https://support.apple.com/guide/safari/ibrwe2159f50/mac
"Page Zoom
Choose a percentage of zoom to make text and images on the site easier to see."
body {
zoom: 90%;
}
Settings > Advanced > Style sheet
and point to the previously saved css file.Does it apply to all sites or can you set it to a specific website?Create a new text file with the file extension "css". (like "defaultzoom.css")
Paste:
In Safari go toCSS:body { zoom: 90%; }
Settings > Advanced > Style sheet
and point to the previously saved css file.
Done
Unfortunately that is the new "100%" for all websites.Does it apply to all sites or can you set it to a specific website?
Not perfect but it's better than nothing. Thank you!Unfortunately that is the new "100%" for all websites.
Oh you are correct. I dismissed this method in the past as it always showed [50 %] in Safari after creating custom values.In will not appear as 90% in Websites, (...)
The values set in Safari > Settings > Websites are saved in ~/Library/Safari/PerSiteZoomPreferences.plist and can be modified to 90% by replacing the set value with 0,9.
I use PlistEdit Pro https://www.fatcatsoftware.com/plisteditpro/Excuse my ignorance but is there a better way of editing the .plist file other than in text editor as it doesn't show clearly?
/usr/libexec/PlistBuddy -c "Print" ~/Library/Safari/PerSiteZoomPreferences.plist
/usr/libexec/PlistBuddy -c "Print :MapOfHostnamesToZoomPreferences:forums.macrumors.com:PageZoomFactor" ~/Library/Safari/PerSiteZoomPreferences.plist
/usr/libexec/PlistBuddy -c "Set :MapOfHostnamesToZoomPreferences:forums.macrumors.com:PageZoomFactor 0,9" ~/Library/Safari/PerSiteZoomPreferences.plist
Worked a treat in terminal. Thank you.I use PlistEdit Pro https://www.fatcatsoftware.com/plisteditpro/
Xcode can be used.
Or from Terminal:
Read the plist
Code:/usr/libexec/PlistBuddy -c "Print" ~/Library/Safari/PerSiteZoomPreferences.plist
Read the value for one website (forums.macrumors.com)
Code:/usr/libexec/PlistBuddy -c "Print :MapOfHostnamesToZoomPreferences:forums.macrumors.com:PageZoomFactor" ~/Library/Safari/PerSiteZoomPreferences.plist
Set to value to 90% (use 0.9 or 0,9 in accordance with the read value, your system setting for decimal separator)
Code:/usr/libexec/PlistBuddy -c "Set :MapOfHostnamesToZoomPreferences:forums.macrumors.com:PageZoomFactor 0,9" ~/Library/Safari/PerSiteZoomPreferences.plist
/usr/libexec/PlistBuddy -c "Print" ~/Library/Safari/PerSiteZoomPreferences.plist
File Doesn't Exist, Will Create: /Users/user/Library/Safari/PerSiteZoomPreferences.plist
Dict {
}
defaults read com.apple.safari DefaultPageZoom
defaults write com.apple.safari DefaultPageZoom 1.1
defaults delete com.apple.safari DefaultPageZoom
user@MacBookPro Downloads % defaults write com.apple.safari DefaultPageZoom 1.1
2025-03-22 09:00:56.994 defaults[70722:4803219] Could not write domain /Users/user/Library/Containers/com.apple.safari/Data/Library/Preferences/com.apple.safari; exiting
user@MacBookPro Downloads % defaults read com.apple.safari DefaultPageZoom
2025-03-22 09:08:43.598 defaults[70820:4809834]
The domain/default pair of (/Users/user/Library/Containers/com.apple.safari/Data/Library/Preferences/com.apple.safari, DefaultPageZoom) does not exist
Make sure Terminal has Full Disk Access.Could not write domain /Users/user/Library/Containers/com.apple.safari/Data/Library/Preferences/com.apple.safari