Nothing in Safari Preferences will fix this issue.
Realize, Yosemite was released in October 2014 and a lot Technology has changed since then.
Websites coding etc has changed too and the newer Code in websites may just be beyond the abilities of an 8 Year Old Browser
Having a MacBook Pro 15-inch Mid 2012 does offer the user the ability to upGrade to several newer versions of macOS
Should the user wish to explore that possibility, refer to below.
The Age of this computer will Govern what newer version of macOS it will Qualify to install. Use About this Mac from the Apple Icon on Desktop - the required Information will be there.
With the above information in-hand - follow this How to get old versions of macOS and verify what version this computer Qualifies to install. For Best results use Safari to commence the download as Others may not work.
Safari will open a redirect and open the Apple Store where the download can commence.
macOS Catalina 10.15 hardware requirements This is the Last Qualify Version of macOS this computer can run
macOS Mojave 10.14 hardware requirements
macOS High Sierra 10.13 hardware requirements
macOS Sierra 10.12 hardware requirements
OS X El Capitan - Technical Specifications
Make Time Machine Backup is very useful and can be used to Revert to Previous Working macOS
Notation - Mojave is the Last version to support 32 bit applications / extensions and Drivers. Catalina, Big Sur & Monterey supports only 64 bit and there is no workaround.
Suggest using Go64 to find 32 bit application before attempting the upGrade. Some or many of the Application already installed may required update or upGrades to 64 Bit Versions.