Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Latest commit

 

History

History
89 lines (66 loc) · 3.5 KB

README.md

File metadata and controls

89 lines (66 loc) · 3.5 KB

Reqon (fork of Request Control)

BuildStatus

Warning

This is no longer maintained at a minimum scale. If you insist, I posted a few things you should know in the original repo, it's suggested to check issue#109 first.

Note

For potential future maintainers, you'd better solve these bugs in issue trackers first before going on. issue#53 is introduced in my fork and (probably) does not exist in legacy release. You can either start here or softfork branch when things are still clean. You should also cherry-pick my CI commits and commit@49111d3.

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.

Other useful information:

Installation

  1. Open about:addons
  2. Click on the gear icon (⚙️)
  3. Click Install Add-on From File...
  4. Select the zip you downloaded from releases
  5. Now you are good to go! Open options to check if rules are kept and test the functionality

Support

  • Bug Report
  • Feature Suggestion
  • Localization
  • Code Contribution
  • Rule Contribution

Development

Clone repository and setup development environment with npm:

git clone https://github.com/Vinfall/reqon.git
cd reqon
npm i

Run in Firefox-nightly:

npm start -- --firefox=nightly

Run unit tests and lint:

npm test
npm run lint

Build extension:

npm run build
npm run lint-build

External Libraries

Reqon 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.
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/.