Skip to content

tumpio/requestcontrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

50658e4 · Dec 28, 2021
Dec 24, 2020
Nov 14, 2021
Nov 14, 2021
Jul 10, 2020
Dec 28, 2021
Nov 14, 2021
Jul 14, 2021
Dec 24, 2020
Jul 10, 2020
Jan 22, 2021
Oct 30, 2016
Dec 29, 2020
Jul 14, 2021
Jul 14, 2021
Jul 14, 2021

Repository files navigation

BuildStatus codecov

Request Control - Firefox extension

An extension to control HTTP requests. Provides front-end for Firefox webRequest.onBeforeRequest API for HTTP request management.

Requests can be controlled with following rules:

  • Filter Rule

    Skip URL redirection and remove URL query parameters.

  • Redirect Rule

    Rewrite requests with support for Pattern Capturing to redirect based on the original request.

  • Secure Rule

    Upgrade non-secure (HTTP) requests to secure (HTTPS).

  • Block Rule

    Block requests before they are made.

  • Whitelist Rule

    Whitelist requests from other rules.

Support

  • Report bugs
  • Suggest new features
  • Help to translate
  • Contribute

Development

Clone repository and setup development environment with npm

git clone https://github.com/tumpio/requestcontrol.git
cd requestcontrol
npm install

Run in Firefox-nightly

npm start -- --firefox=nightly

Run unit tests and lint

npm test ; npm run lint

Build extension

npm run build

External Libraries

Request Control uses the following external libraries:

  • lit is licensed under the MIT license.
  • tags-input and its fork by @pirxpilot are licensed under the MIT license.
  • ionicons is licensed under the MIT license.
  • tldts is licensed under the MIT license.

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.