# WebRequest Rules

> Customize web requests by coding JavaScript yourself.

Canonical page: [https://chrome-stats.com/d/webrequest-rules](https://chrome-stats.com/d/webrequest-rules)

## Overview

- **ID:** `webrequest-rules`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** sycxyc
- **Category:** web-development,privacy-security
- **Daily users:** 388
- **Weekly downloads:** 7
- **Rating:** 4.90 / 5 (10 ratings)
- **Version:** 4.6
- **Last updated:** 2025-12-28
- **First published:** 2022-09-29
- **Size:** 1.61 MB
- **Data as of:** 2026-09-06
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/webrequest-rules/)
- **Website:** [https://github.com/ichaoX/ext-webRequest/issues](https://github.com/ichaoX/ext-webRequest/issues)

## Description

WebRequest Rules is a powerful Chrome extension that grants developers full control over web requests by allowing them to write custom JavaScript rules. Users can cancel or redirect requests, upgrade to secure connections, supply authentication credentials, and modify both request and response headers. The extension supports advanced features like reading request bodies, modifying response bodies, adjustable rule priorities, and grouping with complex conditions.

Designed for flexibility, it offers customizable templates, supports asyncBlocking, and allows easy import/export of settings. Open source and actively maintained, WebRequest Rules is ideal for developers seeking to customize web traffic behavior precisely and efficiently. It also integrates optionally with the Code Editor extension for a seamless coding experience directly within the browser.

## Rankings

- #5,840 — Overall
- #4 — rule
- #8 — request
- #81 — javascript
- #150 — coding
- #171 — upgrade

## Permissions and access

### Permissions

- `declarativeNetRequestWithHostAccess`
- `storage`
- `tabs`
- `unlimitedStorage`
- `webRequest`
- `webRequestBlocking`
- `<all_urls>`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [WebRequest Extension](https://chrome-stats.com/d/webrequest-extension) — 2 users
- [Request Control](https://chrome-stats.com/d/requestcontrol) — 720 users, 4.72 / 5
- [Request Wrapper](https://chrome-stats.com/d/request-wrapper) — 2 users
- [Requester](https://chrome-stats.com/d/requester) — 28 users
- [mRequestControl](https://chrome-stats.com/d/mrequestcontrol) — 19 users, 5.00 / 5
- [Resource Override](https://chrome-stats.com/d/resourceoverride) — 1,901 users, 4.60 / 5
- [RequestBridge: Fast-Track Your Dev & QA](https://chrome-stats.com/d/requestbridge)
- [Web Defuser](https://chrome-stats.com/d/web-defuser) — 4 users, 5.00 / 5
- [WireRules](https://chrome-stats.com/d/wirerules) — 1 users
- [Header Editor](https://chrome-stats.com/d/simple-header-editor) — 6 users
- [WEBX Recordings Controls Automator](https://chrome-stats.com/d/webx-recordings-control) — 1 users
- [CORS Unblock](https://chrome-stats.com/d/cors-unblock) — 6,654 users, 3.74 / 5

---

Source: [Chrome-Stats](https://chrome-stats.com/d/webrequest-rules)
