access Safari settings without opening Safari?
Using Safari on my MacBook Pro (OSX Yosemite 10.10.3). (Safari is up to date but I don't know the version number.)
I visited a webpage. I don't remember if I clicked on anything there but suddenly, dozens of popups appeared, many of them multiples of the same thing. They don't have URLs. There have no address bar. So many appeared so quickly that they froze the browser. The Settings link was greyed out. The Quit Safari command did not work. I was unable to close them individually. I was unable to Shut Down or Restart the computer through the standard procedure. Instead I received a notice that Safari was preventing Shut Down. I was forced to use the Power Button. On reboot, I reopened Safari and immediately the exact same thing happened; all the popups froze the browser and I couldn't Shut Down the computer without using the Power Button.
Safari is set to begin where I left off, so it's going to continue reopening the same problem popups.
Is there a way to change settings on Safari without opening it?
Only thing I can think to do would be to remove Safari and reinstall it. I suppose that my Favorites would be restored from having them on other devices (iPhone and iPad). But I'd lose my browsing history and all my settings.
Can anyone offer a good work around?
MacBook Pro (15-inch Mid 2009), OS X Yosemite (10.10.3)