If after you've tried that and then rebooted normally, and if Safari is still malfunctioning...
Please download and run and post the hardware and software configuration output of EtreCheck here, and then after opening a reply here, and then pressing the(highlighted) button to create a text input box here in the forum that's big enough for the report, then paste the configuration report int the text input box:
0
BDAqua·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hello,
Post a report from this please...
EtreCheck is a simple little app to display the important details of your system configuration and allow you to copy that information to the Clipboard. It is meant to be used with Apple Support Communities to help people help you with your Mac.