搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

reader view not available on various websites

  • 4 个回答
  • 1 人有此问题
  • 234 次查看
  • 最后回复者为 cor-el

more options

Reader view not available on various websites, why?

Reader view not available on various websites, why?

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (4)

more options

选择的解决方案

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