Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When a Chrome page crashes, I would like to be able to detect it and restart either the page or the browser.

I know this could lead to bad things and multiple restarts, but it is the best option given the circumstance.

Does a plugin exist to do this? Is there an event raised at the OS level that I can catch to reboot the browser. I will have full control over the system, so anything can be doable.

share|improve this question
What would happen if the reason for the fault was due to a faulty page. Your browser would get into a loop (so not multiple, but infinite restarts)! Furthermore, you would not know why it crashed? If Chrome crashes this often, maybe re-install the browser or choose a different one? – Dave Jan 7 '13 at 10:25
I don't think the whole chrome would crash because of a faulty page. Chrome runs each tab in its own sandbox, so letting the page die would be the best solution, mostly for the same reason Dave mentioned. – hayavuk Jan 7 '13 at 11:07
@DaveRook Yes, I'm aware. This is a last ditch effort to save the page if all else fails – Alexis K Jan 7 '13 at 11:09
@AlexisK - please define page crash. – Dave Jan 7 '13 at 11:15
@DaveRook when the page stops responding. Then I would get there is some watch dog timer in Chrome that displays the "“Whoa! Google Chrome has crashed.” When the “Whoa! Google Chrome has crashed.” page is displayed, that is a crash. – Alexis K Jan 7 '13 at 11:34

I doubt there's anything at the OS level. I have no idea how it could ever be informed of a page crash and be able to react. You need to look around Chrome. If there's no setting per se, perhaps there's some Javascript code that allows you to restart the browser. Unless you mean you just want the page to reload automatically. In both cases, finding and editing the page that displays that error, and putting in Javascript including window.location.reload() should do the job. All of those pages are typically editable in browsers like Chrome.

share|improve this answer
Your answer got me thinking... it may be difficult for the OS to figure out what the program is doing. However, I doubt that JavaScript will have the power to completely restart a program (which might help to flush some memory leakage, or have other beneficial effects). So solutions would probably involve customizing Chromium source code, or doing something at the OS level. e.g., have OS recognize when the "Chrome crashed" web page is loaded, or when much of the screen is a certain background color. The latter approach could be prone to false positives/negatives. – TOOGAM Oct 9 '15 at 20:57

Although this doesn't answer your question directly, it may still help.

Many people who get this issue have resolved the issue at source by creating a new Chrome profile.

If you see this error message repeatedly, your browser user profile may be corrupted. First try moving the Default subfolder from your User Data folder to see if that fixes the problem:

Enter the keyboard shortcut Windows key +E to open Windows Explorer. In the Windows Explorer window that appears enter the following in the address bar:

Windows Windows XP: %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\ Windows Vista/ Windows 7/ Windows 8: %LOCALAPPDATA%\Google\Chrome\User Data\

Mac OS X: ~/Library/Application Support/Google/Chrome/Default

Linux: ~/.config/google-chrome/Default Click OK. In the window that opens, rename the "Default" folder as "Backup." Move the "Backup" folder from the "User Data" folder up one level to the "Chrome" folder.

If you continue to see the error, try creating a new user profile to replace your current one.


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .