Skip to content

Latest commit

 

History

History

navigation-stats

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

navigation-stats

What it does

The extension includes:

  • a background which collects navigation stats using the webNavigation API, and store the stats using the storage API.
  • a browser action with a popup including HTML, CSS, and JS, which renders the stats stored by the background page

When the user navigate on a website from any of the browser tabs, the background page collected every completed navigation with the "http" or "https" schemes (using an UrlFilter for the listener of the webNavigation events)

When the user clicks the browser action button, the popup is shown, and the stats saved using the storage API are retrived and rendered in the popup window.

What it shows

  • use the webNavigation API to monitor browsing navigation events
  • use an UrlFilter to only receive the webNavigation event using one of the supported criteria.
  • use the storage API to persist data over browser reboots and to share it between different extension pages.