How i got Safari to have enabled WebGL again
I' referencing this month-old thread:
https://discussions.apple.com/thread/251543248
I had like many others a not working WebGL though new iMac and newest Safari (13 and now 14). But it worked in another user account ('admin' in my case). So i checked the com.apple.safari.plist, which is under Mojave in
~/Library/Containers/com.apple.Safari/Data/Library/Preferences
And there i found three entries related to webgl:
<key>WebKitPreferences.webGLEnabled</key>
<false/>
<key>WebKitWebGLEnabled</key>
<false/>
<key>com.apple.Safari.ContentPageGroupIdentifier.WebKit2WebGLEnabled</key>
<false/>
I presume they come from older Safari versions, are in newer Safaris not accessible but are considered by Safari. I changed the three <false/> to <true/>, restarted and WebGL is now working!
But, maybe better, deleting the .plist file is an option? Or it's an argument for better 'clean install' a new macOS.
Editing the .plist should not be easy because of SIP, but for me it worked without problems (opened in BBedit and saved).
So i'm happy with WebGL working in Safari, but perhaps someone has an advice to make it better?
iMac 27″, macOS 10.14