ApoorvSaxena / ApoorvSaxena/lozad.js

How to deal with Reader View?

Open
#165 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
7.5k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

I'm interested in making all my sites work in Reader View, but I can't find any mention of lozad.js + "Reader View" for reference.

What I know so far:

- Images already loaded will stay loaded if you enter Reader View;
- If you refresh the page while in Reader View they will unload;
- `` seems to be ignored by Reader View.

Using Firefox 67.0b12 (64-bit) at the moment.

**Edit:** Tested on Chromium using the experimental DOM Distiller (`chromium -enable-dom-distiller`), and images are loaded just fine. Since it needs JavaScript anyway, I think it makes sense.

No idea about Safari's Reader View behavior on it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.