Reader is a Safari feature that allows users to read online articles in a continuous, clutter-free view, with no ads or visual distractions. Reader concatenates multipage articles into a single scrolling pane.
Instances of the
SafariReader class represent the Reader view.
A Boolean value that indicates whether the tab can display the Reader view.
readonly attribute boolean available
When the Reader view becomes available, a
SafariAvailableEventevent is sent. If you need to know when the Reader view becomes available, listen for that event rather than polling this property.
Enters the Reader view if it is available; otherwise does nothing.
void enter ()
Exits the Reader if it is visible; otherwise does nothing.
void exit ()
The browser tab that contains the Reader view.
readonly attribute SafariBrowserTab tab
A Boolean value that indicates whether the Reader view is being displayed.
readonly attribute boolean visible