reader view not available on various websites
Reader view not available on various websites, why?
Chosen solution
Hi sbray1834, the Reader view is limited in the kinds of pages it understands. It scans the HTML code of the page looking for certain structures similar to articles or blog posts. It has a plan for how to simplify those. But if it doesn't find the kinds of page structures it is designed to handle, it just gives up.
Read this answer in context 👍 1All Replies (4)
Chosen Solution
Hi sbray1834, the Reader view is limited in the kinds of pages it understands. It scans the HTML code of the page looking for certain structures similar to articles or blog posts. It has a plan for how to simplify those. But if it doesn't find the kinds of page structures it is designed to handle, it just gives up.
Hi. Is there a way to bypass/fool this check? Because, the reader view don't allow to be used when pages are loaded offline.
Hi asdgz
That is not possible.
- resource://gre/modules/AboutReader.jsm
var AboutReader = function(mm, win, articlePromise) { let url = this._getOriginalUrl(win); if (!(url.startsWith("http://") || url.startsWith("https://"))) { let errorMsg = "Only http:// and https:// URLs can be loaded in about:reader."; if (Services.prefs.getBoolPref("reader.errors.includeURLs")) { errorMsg += " Tried to load: " + url + "."; } Cu.reportError(errorMsg); win.location.href = "about:blank"; return; }