This is here just so I can remember what I did later when I need to undo it.
I’ve got a problem where Xero is simply not loading in Safari 12 on macOS Mojave.
After I’ve logged in at login.xero.com, I get redirected to go.xero.com and this is where it hangs.
Someone’s posted a potential solution to disable DNS prefetching in WebKit:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false