The offline page
What the offline page is for
When a page cannot load because of an internet access problem, Scriptorium replaces the browser’s error page with a page that invites you to read the Bible. It only appears for a tab’s main page (the http or https address of a public site), and only if the failure comes from a network that is down, a site name that cannot be found, a timeout or a failing proxy.
The page shows the probable cause, the browser’s error code and the name of the requested site (the name only, never the path of the address), then offers:
- “Read the Bible”: opens the reader in a new tab;
- “Try again”: checks the connection by sending a request to the requested page, then reopens it if it answers. Otherwise, “Still no connection.” is shown. The same check starts by itself when the browser reports that the network is back while the offline page is displayed;
- “Go back to the previous page”: shown only if there was a page before the one that failed.
What the offline page never intercepts
The browser keeps its own message for local sites (localhost, private networks,
host names without a dot), certificate and security errors, refused connections, cancelled
loads and anything that is not a tab’s main page.
Good to know: from the offline page, the browser’s Back button shows the original error page once before going back to the previous page.
The “Try again” request
This is the only network request the extension makes: one request to the page you wanted to open, to see whether it answers. It is sent without cookies or credentials, the response is not read and the wait lasts 8 seconds at most. The requested site sees it like any visit, including your IP address. See the privacy page.
Turning it off
In Settings › Offline features, the “Invite me to read the Bible when the connection fails” box is ticked by default. Untick it to get the browser’s usual error page back. See settings.
Still unclear? Suggest an improvement to the docs.