xiHeaders

webextension to modify request headers  https://addons.mozilla.org/firefox/addon/xiheaders/
git clone https://git.ce9e.org/xiHeaders.git

NameSize
CHANGES.md252B
LICENSE1072B
Makefile52B
README.md1045B
icon.svg284B
manifest.json707B
src/bg.js1288B
src/settings.css418B
src/settings.html301B
src/settings.js695B

xiHeaders - modify request headers

This is yet another extension to modify request headers. It stands out by being extremely simple (~100 lines of code).

Rules

Rules are defined as a JSON. Each rule has the following properties:

Examples

Show reddit images instead of redirecting to a HTML page:

{
  "pattern": "https://i.redd.it/*",
  "header": "Accept",
  "value": "image/*"
}

A similar rule can also be used for i.imgur.com.

Prior Art