Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

reader view not available on various websites

  • 4 risposte
  • 1 ha questo problema
  • 225 visualizzazioni
  • Ultima risposta di cor-el

more options

Reader view not available on various websites, why?

Reader view not available on various websites, why?

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 1

Tutte le risposte (4)

more options

Soluzione scelta

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.

more options
more options

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.

more options

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;
  }