Customize Chromium/Google Chrome error pages
Asked Answered
L

2

15

How can I customize the error pages Google Chrome/Chromium displays when there is a networking error (e.g. Error 137 net::ERR_NAME_RESOLUTION_FAILED)

I'm talking about these kinds of pages: http://i41.tinypic.com/29qm8v6.png

They don't seem to be stored anywhere on the file system. Can the errors that make them display be trapped using an extension?

Thanks for any advice.

Lille answered 9/11, 2011 at 21:30 Comment(0)
A
4

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

Alinealinna answered 29/12, 2011 at 13:22 Comment(0)
U
3

No :( Correct link at this moment: https://chromium.googlesource.com/chromium/chromium/+/master/chrome/renderer/localized_error.cc

Uriisa answered 1/5, 2014 at 14:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.