Customize Chromium / Google Chrome Error Pages

How to set up error pages displayed by Google Chrome / Chromium when a network error occurs (for example, error 137 net :: ERR_NAME_RESOLUTION_FAILED)

I am talking about these types of pages: http://i41.tinypic.com/29qm8v6.png

It seems that they are not stored anywhere on the file system. Can errors showing their display be captured using the extension?

Thanks for any advice.

+6
source share
2 answers

No, capture is not possible, and HTML for error pages is generated at runtime from compiled resources. See http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/localized_error.cc?view=markup for code that creates these error pages.

+2
source

Source: https://habr.com/ru/post/901158/


All Articles