Skip to content
OpenWPM instrumentation library for WebExtensions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github
.vscode
src
.editorconfig
.gitignore
.npmignore
.prettierignore
.travis.yml
LICENSE
README.md
package.json
tsconfig.json
tsconfig.module.json
tslint.json

README.md

OpenWPM instrumentation library for WebExtensions

Allows WebExtensions to track and monitor privacy-related browsing behavior

Installation

This package is yet to be published to npm, but can be installed directly from Github as follows:

npm install --save mozilla/openwpm-webext-instrumentation

Instrumentation

The instrumentation leverages the available JavaScript APIs for WebExtensions and listens to navigation, web requests, cookie modifications and access to certain javascript API:s, as described in the main OpenWPM project README under the following bullet points:

  • HTTP Request and Response Headers, redirects, and POST request bodies
  • Javascript Calls
  • Response body content
  • Cookie Access (Experimental)

More specifically, all packets sent by the instrumentation conform to these interfaces.

Usage

The instrumentation is designed to invoke a dataReceiver object whenever a packet or log entry is available.

Pending proper documentation, the best way to see how this library is used is to check how the instrumentation is incorporated into the following projects:

You can’t perform that action at this time.