How long is the blank page supposed to show before the placeholder appears?
RealityRipple
Jan 31, 5:52 PM
That depends on whether the response from the server is an actual error message, or if the page is just visually blank. If the server returns an HTTP actual error code, the replacement is instant. If there's no error code from the server, the page will be "visually" checked (essentially a handful of pixels' colors are compared to each other) after (by default) ten seconds. This can be modified with the "extensions.hterr.blankwait" preference in about:config. Note that this scan does not take place until the base file of the page you're viewing has been completely loaded.
BlueBonnet
Feb 4, 5:21 PM
hterr.js has only that one pref. It looks like setting that to zero means "never blank"? This is necessary when loading a PDF (no html involved), which shows in the browser's PDF viewer. Without the zero, HTErr blanks out the PDF after the Wait, claiming an error state.
TannedSun
Mar 28 2021, 7:13 PM
Could you use the original screenshot instead of a very small picture? It would help out a lot.
moonbat
Feb 9 2021, 9:36 PM
Does this conflict with Fierr or is it different?
RealityRipple
Feb 9 2021, 11:41 PM
It's entirely different; doesn't use the built in netError system, only its CSS. This extension literally just inserts body data into a 4xx or 5xx HTTP response using the 'http-on-examine-response' event of the Observer service. That means the error page you get from this extension is just a regular webpage according to the browser, and even the MIME type can't be altered, so if the empty HTTP error has a content-type of text/plain for whatever reason, the error has to be plain text instead of a webpage too, or it'll just show you the page's source code. It's more of a stop-gap measure for sites that send HTTP errors but no accompanying HTML data, so they don't display a blank page, rather than a true error handler.