A small change in the way Safari manages web pages in Yosemite will allow you to more easily troubleshoot any pages that are unresponsive or otherwise stuck.
If you ever run across a site that either hangs, or repeatedly shows a message that you cannot get rid of and which prevents you from otherwise interacting with Safari (e.g., closing the window), then you might find yourself resorting to force-quitting the program; however, there is an alternative you can use to more specifically manage the problem.
In prior versions of OS X, Safari would bundle loaded Web pages in separate Web processes, allowing them to run independently of each other; however, their name being “Safari Web Process” made them difficult to distinguish. While you could hover your mouse over them to view a tooltip box that showed the URLs represented by each process, this was a bit cumbersome to do. One hidden feature in Safari that helps this is to show web process IDs in page titles, which will allow you to match this ID with process IDs shown in Activity Monitor.
- Check the address bar of the stuck Safari window and note its URL.
- Open Activity Monitor, reveal all processes in the View menu, and then search for “Safari.”
- Locate the URL in the Process Name column.
- Select the desired URL and then click the toolbar button to force-quit the process.
Even though this new feature allows you to more easily target relevant Safari Web Processes, you may still have duplicate entries if you have the same Web page loaded in separate windows. Therefore, you might still consider revealing web process IDs in Safari windows, so you can further confirm which process in Activity Monitor you will need to quit if a problem occurs.