top

Mozilla new JavaScript framework Fathom Understands Web Content

Mozilla has been working on creating a JavaScript framework called Fathom. This new framework will help Firefox to understand the structures and content of a web page. However, Fathom is still in its development stage. Mozilla has already started using it in Firefox Activity Stream web traffic tracker.  Through Fathom framework, Mozilla is trying to make browsers more intelligent. Its future implementations could be in more browsers, browser extensions, and server-side software. The framework will help browser to understand the meaningful parts of the web page like previous/next buttons, address forms, and the main textual content. Erik Rose gave the look of how Firefox could understand web pages in the same way as a human. The browser can identify a login link and provide hotkeys to dismiss popovers. Hiding the superfluous navigation or header sections on small screens or windows, stylesheets are not required for printing. Erik also says, “Over the decades, there have been many attempts to make this easier. But microformats, semantic tags, RDF, and link/rel header elements have failed to take over the world, due both to sites’ incentive to remain unscrapable and to the extra work they represent." Fathom is inspired from data flow languages like Prolog. DOM nodes are scored and extracted on the conditions specified by the user. Its system is based on types and annotations. It expresses dependencies between scoring steps and controls state. The existing set of scoring rules can be extended without editing them directly, encouraging multiple third party refinements to be mixed together.  
Rated 4.0/5 based on 20 customer reviews
Normal Mode Dark Mode

Mozilla new JavaScript framework Fathom Understands Web Content

Geneva Clark
What's New
02nd May, 2017
Mozilla new JavaScript framework Fathom Understands Web Content

Mozilla has been working on creating a JavaScript framework called Fathom. This new framework will help Firefox to understand the structures and content of a web page. However, Fathom is still in its development stage. Mozilla has already started using it in Firefox Activity Stream web traffic tracker. 

Through Fathom framework, Mozilla is trying to make browsers more intelligent. Its future implementations could be in more browsers, browser extensions, and server-side software. The framework will help browser to understand the meaningful parts of the web page like previous/next buttons, address forms, and the main textual content.

Erik Rose gave the look of how Firefox could understand web pages in the same way as a human. The browser can identify a login link and provide hotkeys to dismiss popovers. Hiding the superfluous navigation or header sections on small screens or windows, stylesheets are not required for printing.

Erik also says, “Over the decades, there have been many attempts to make this easier. But microformats, semantic tags, RDF, and link/rel header elements have failed to take over the world, due both to sites’ incentive to remain unscrapable and to the extra work they represent."

Fathom is inspired from data flow languages like Prolog. DOM nodes are scored and extracted on the conditions specified by the user. Its system is based on types and annotations. It expresses dependencies between scoring steps and controls state. The existing set of scoring rules can be extended without editing them directly, encouraging multiple third party refinements to be mixed together.

 
Geneva

Geneva Clark

Blog Author
Geneva specializes in back-end web development and has always been fascinated by the dynamic part of the web. Talk to her about modern web applications and she and loves to nerd out on all things Ruby on Rails.

Leave a Reply

Your email address will not be published. Required fields are marked *

SUBSCRIBE OUR BLOG

Follow Us On

Share on

other Blogs

20% Discount