Firefox Metrics Project

First sample of metrics data collection

July 6, 2007 · 73 Comments

Well, this was my attempt at creating any extension for firefox.
The extension I created is a little messy so forgive me please.

Basically, what the extension does is listen for page loads(including tabs)
and whenever a page is loaded it takes the URL and adds it into a
SQLite database that is located on the local machine; in the moz
profile.

If the URL is already in the database, the SQLHelper.js adds to the
page hit counter.

The reason why I did this is because I think we can use
the raw data to find out most of the users web behaviours.
For instance, how many times they went to a secure site or what
sites they frequently visit, etc.

There will also be a View Statistic button like shown in the image.

image of data

What the button does is very simple, it opens a new window and
writes all the data collected(from the SQLite db) into a table using
the viewData( ) method call.

Anyways, check it out, modify it, do whatever that can help this
project along.

***Note: My update statement does not seem to be working at this
moment, but I wanted to give you guys something to work with while
i fix it.

The extension

-Earth2Simon

Categories: Uncategorized

73 responses so far ↓

Leave a Comment