Closed Bug 1259027 Opened 8 years ago Closed 4 years ago

Firefox doesn't always offer the reader mode icon for some articles that load content dynamically after the DOM has loaded

Categories

(Toolkit :: Reader Mode, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1636150

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Whiteboard: [reader-mode-readability-algorithm][reader-mode-isreadable-detection])

I come across this every once in a while.  For example, see <https://www.techinasia.com/awkward-moment-apple-mocked-good-hardware-poor-people>.  Safari seems to be able to display this in reader mode without any issues.  Even prepending about:reader?url= to the URL will redirect you back to the URL.
A refresh on this page works. It looks like this is because the page only loads content dynamically (ie not as part of the initial HTML). This is also why it breaks if you load it directly with about:reader?url=, because the XHR doesn't actually get the article content. I don't know off-hand how hard it is to fix the case where more content is added dynamically later. Obviously keeping an eye out for extra content on any/every page in case it suddenly becomes readerable has perf implications.
Priority: -- → P3
Summary: Firefox doesn't offer the reader mode icon for some articles → Firefox doesn't always offer the reader mode icon for some articles that load content dynamically after the DOM has loaded
Whiteboard: [reader-mode-readability-algorithm][reader-mode-isreadable-detection]
See Also: → 1651922

Probably makes sense to dupe this to bug 1636150 as it has some discussion of how to fix this.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.