HabrAjax learned to recognize the 500th page of Habr and suggests to pass to copies of pages on the Web
If you need to read something from Habr, and the site does not work (as it was in the last couple of hours), before there was only waiting or switching to other resources. Now the HabrAjax script has added recognition of a blank page, which happens with the 500th error, and an offer to visit the pages of copyists. The page is completely blank, because the site’s styles are also not loaded. But this is better than observing a blank page and finding similar solutions on your own. If you are viewing an article lying in Google cache, it is read (with ZenComment styles, if installed). As experience shows, pages quickly get into Google cache (minutes - tens of minutes), so we have a cast of the site shortly before the accident.
The only difference is that the "entry" to the site through Google-cache comes from an unauthorized user. Therefore, it will be impossible to view the / feed feed in this way, and clicking on the links each time will be accompanied by a warning that the site is down.
For example, on the morning of March 6, 2013 there was a similar error situation. After the script was finalized, a completely blank page began to look filled and explaining what had happened.

Of course, this is the first step to improve the user script interface on a blank page, and further observations will tell you what else is useful to have on it. For example, it’s now clear that opening a link with a script in a new window is not always convenient - navigating the cache leads to many open windows (tabs). But site inactivity is a rare occurrence, so there may be few reasons to modify the interface.
Google’s cache pages have learned to display with ZenComment + HabrAjax for some time (approximately February 2013): link example and screenshot:


Therefore, the impression is quite complete that we are reading the original site while it’s not working.
Userscript will not help in cases where the Internet is disconnected and there is no response from the server at all. In such cases, add-ons for each browser could help to replace or supplement the standard rebound pages (“Firefox cannot find XXX server”, “XXX server could not be found due to DNS lookup error” (Chrome)).
Another last addition to the script is described in the article " Commenting with a 1-click quote in loaded articles ."
To be fully equipped before the next outage, install a new version of the HabrAjax script .
UPD: fixed evening (from 6.08.13) layout change on the site - there was a violation of the response buttons in the comments on articles (new version 107).
The only difference is that the "entry" to the site through Google-cache comes from an unauthorized user. Therefore, it will be impossible to view the / feed feed in this way, and clicking on the links each time will be accompanied by a warning that the site is down.
For example, on the morning of March 6, 2013 there was a similar error situation. After the script was finalized, a completely blank page began to look filled and explaining what had happened.

Of course, this is the first step to improve the user script interface on a blank page, and further observations will tell you what else is useful to have on it. For example, it’s now clear that opening a link with a script in a new window is not always convenient - navigating the cache leads to many open windows (tabs). But site inactivity is a rare occurrence, so there may be few reasons to modify the interface.
Google’s cache pages have learned to display with ZenComment + HabrAjax for some time (approximately February 2013): link example and screenshot:


Therefore, the impression is quite complete that we are reading the original site while it’s not working.
Userscript will not help in cases where the Internet is disconnected and there is no response from the server at all. In such cases, add-ons for each browser could help to replace or supplement the standard rebound pages (“Firefox cannot find XXX server”, “XXX server could not be found due to DNS lookup error” (Chrome)).
Another last addition to the script is described in the article " Commenting with a 1-click quote in loaded articles ."
To be fully equipped before the next outage, install a new version of the HabrAjax script .
UPD: fixed evening (from 6.08.13) layout change on the site - there was a violation of the response buttons in the comments on articles (new version 107).