Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tumpio/requestcontrol
A Firefox extension
https://github.com/tumpio/requestcontrol
block-requests firefox-addon firefox-extension firefox-extensions firefox-webextension redirect-requests
Last synced: about 2 months ago
JSON representation
A Firefox extension
- Host: GitHub
- URL: https://github.com/tumpio/requestcontrol
- Owner: tumpio
- License: mpl-2.0
- Created: 2016-09-23T19:52:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T18:22:49.000Z (over 2 years ago)
- Last Synced: 2023-11-07T17:04:09.313Z (about 1 year ago)
- Topics: block-requests, firefox-addon, firefox-extension, firefox-extensions, firefox-webextension, redirect-requests
- Language: JavaScript
- Homepage: https://addons.mozilla.org/addon/requestcontrol
- Size: 2.08 MB
- Stars: 157
- Watchers: 15
- Forks: 26
- Open Issues: 39
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
|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.
| `Manual`_
| `FAQ`_
| `Source code`_
| `License`_Support
~~~~~~~- Report bugs
- Suggest new features
- Help to translate
- ContributeDevelopment
~~~~~~~~~~~Clone repository and setup development environment with `npm`_
::
git clone https://github.com/tumpio/requestcontrol.git
cd requestcontrol
npm installRun 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/... _webRequest.onBeforeRequest: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onBeforeRequest
.. _Pattern Capturing: https://github.com/tumpio/requestcontrol/blob/master/_locales/en/manual.wiki#redirect-using-pattern-capturing
.. _Manual: https://github.com/tumpio/requestcontrol/blob/master/_locales/en/manual.wiki
.. _FAQ: https://github.com/tumpio/requestcontrol/issues?utf8=%E2%9C%93&q=label%3Aquestion+
.. _Source code: https://github.com/tumpio/requestcontrol
.. _License: https://github.com/tumpio/requestcontrol/blob/master/LICENSE
.. _npm: https://www.npmjs.com/
.. _lit: https://ajusa.github.io/lit/
.. _tags-input: https://github.com/developit/tags-input
.. _@pirxpilot: https://github.com/pirxpilot/tags-input
.. _ionicons: http://ionicons.com/
.. _tldts: https://github.com/remusao/tldts.. |BuildStatus| image:: https://github.com/tumpio/requestcontrol/workflows/Build/badge.svg?event=push&branch=master
:target: https://github.com/tumpio/requestcontrol/actions
.. |codecov| image:: https://codecov.io/gh/tumpio/requestcontrol/branch/master/graph/badge.svg
:target: https://codecov.io/gh/tumpio/requestcontrol