Skip to content
Extension that runs in Firefox/Chrome to get some extra fire for Browsertime
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Browsertime extension

Extension for Firefox and Chrome that is used in Browsertime to:

  • Set request headers
  • Block requests
  • Clear the cache
  • Add cookie(s)
  • Set Basic Auth

and more things in the future.

Set request headers

Set request headers:

  • Key secret with value 87sghwgaf&&ga9ja:
  • Key user with value hoppla

Go to

Set for a specific domain: Go to

Then you can easy test that it works on:

Block requests

Block all requests on

Go to

Block all requests on and

Go to

Clear the cache

Clear all browser caches for the last 7 days.

Go to http://

Set Basic Auth

If your site is behind Basic Auth you can automatically send the Basic auth header.

Username: peter
Password: secret

Go to

Set Cookie(s)

If you want to set a cookie.

name: cookieName
value: cookieValue

Go to

Test the plugin in Firefox

Install web-ext:

$ npm install --global web-ext

And then run

$ web-ext run --browser-console

Setup your own server on localhost (server.js):

const http = require('http');
const fs = require('fs');

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Browsertime internal server');

then node server.js and access

Test in Chrome

Follow instruction on Remember that you need to reload the plugin when you change things.

Test in Browsertime

For Chrome, build the extension by click on the button "Pack extension" and the copy the file to browsertime/vendor/browsertime-extension.crx.

You can’t perform that action at this time.