![Preview of WebRequest Rules](https://addons.mozilla.org/user-media/addon_icons/2768/2768512-64.png?modified=5bd4cccb)
WebRequest Rules by sycxyc
Customize web requests by coding JavaScript yourself.
You'll need Firefox to use this extension
Extension Metadata
Screenshots
![1. Add a rule and Select a "Match Request" template;
2.Modify the function content as needed;
3.Adding one or more event listener functions to a rule;
4.The toolbar shows which rules the current tab matches](https://addons.mozilla.org/user-media/previews/thumbs/288/288921.jpg?modified=1697891197)
![Install the "Code Editor" extension and enable it in Settings for a better coding experience](https://addons.mozilla.org/user-media/previews/thumbs/288/288923.jpg?modified=1697891201)
![Create your own template](https://addons.mozilla.org/user-media/previews/thumbs/287/287466.jpg?modified=1697891197)
About this extension
Full control of the WebRequest API by coding it yourself.
Main Features:
* Cancel requests
* Redirect requests
* Upgrading to a secure request
* Supply authentication credentials
* Modify request headers (user-agent, x-forwarded-for, referer, cookie...)
* Modify response headers (access-control-allow-*, content-security-policy, x-frame-options...)
* Modify response body
* Read request body
* Adjustable rule priority
* Rules grouping
* Complex conditions available
* Customizable templates
* Support for asyncBlocking
* Import/Export settings
This extension is open source and you can file bug reports on the GitHub issue.
Notes:
* Optional permissions need to be enabled manually only if you want to write functionality that relies on these APIs.
* The optional Code Editor feature is provided by the Code Editor extension.
References:
* https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest
Main Features:
* Cancel requests
* Redirect requests
* Upgrading to a secure request
* Supply authentication credentials
* Modify request headers (user-agent, x-forwarded-for, referer, cookie...)
* Modify response headers (access-control-allow-*, content-security-policy, x-frame-options...)
* Modify response body
* Read request body
* Adjustable rule priority
* Rules grouping
* Complex conditions available
* Customizable templates
* Support for asyncBlocking
* Import/Export settings
This extension is open source and you can file bug reports on the GitHub issue.
Notes:
* Optional permissions need to be enabled manually only if you want to write functionality that relies on these APIs.
* The optional Code Editor feature is provided by the Code Editor extension.
References:
* https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access browser tabs
- Store unlimited amount of client-side data
- Access your data for all websites
This add-on may also ask to:
- Read and modify bookmarks
- Get data from the clipboard
- Input data to the clipboard
- Read your browsing history
- Download files and read and modify the browser’s download history
- Access browsing history
- Display notifications to you
- Hide and show browser tabs
- Access browser activity during navigation
More information
- Add-on Links
- Version
- 4.5
- Size
- 1.61 MB
- Last updated
- 3 months ago (Mar 23, 2024)
- Related Categories
- License
- All Rights Reserved
- Version History
- Tags
Add to collection
More extensions by sycxyc
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet