US 11,960,834 B2
Reader mode-optimized attention application
Benjamin Livshits, London (GB); Peter Snyder, San Francisco, CA (US); and Andrius Aucinas, London (GB)
Assigned to Brave Software, Inc., San Francisco, CA (US)
Filed by Brave Software, Inc., San Francisco, CA (US)
Filed on Sep. 30, 2019, as Appl. No. 16/589,051.
Prior Publication US 2021/0097134 A1, Apr. 1, 2021
Int. Cl. G06F 40/14 (2020.01); G06F 16/93 (2019.01); G06F 16/957 (2019.01); G06F 16/958 (2019.01); G06F 40/106 (2020.01); G06F 40/197 (2020.01); G06F 40/109 (2020.01)
CPC G06F 40/197 (2020.01) [G06F 16/94 (2019.01); G06F 16/9577 (2019.01); G06F 16/986 (2019.01); G06F 40/106 (2020.01); G06F 40/14 (2020.01); G06F 40/109 (2020.01)] 21 Claims
OG exemplary drawing
 
1. A method for an optimized reader mode-optimized pipeline on an attention application, the method comprising:
receiving a request from a user of the attention application for media content during an attention session;
transmitting a request to a media content server for an initial hypermedia document referencing the media content, the initial hypermedia document including a set of markup features;
determining, by a classifier and prior to generating a document object model (DOM) based on the initial hypermedia document via tree transduction, that a subset of markup features that are included in the set of markup features satisfy a reader mode condition;
extracting, by the classifier based at least in part on the reader mode condition being satisfied, elements of the initial hypermedia document and omitting elements of the initial hypermedia document outside the subset of markup features to yield a reader mode hypermedia document;
generating, by a tree transducer, without rendering the DOM based on every markup feature of the set of markup features of the initial hypermedia document during the attention session, a reader mode DOM based on the reader mode hypermedia document that omits the elements of the initial hypermedia document;
rendering the reader mode DOM by fetching only resources referenced by the reader mode hypermedia document and not fetching features outside the subset during the attention session; and
displaying a rendering of the reader mode DOM to the user of the attention application during the attention session.