WebRequest Rules

Customize web requests by coding JavaScript yourself.

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.

By:
sycxyc
Daily users:
71 -12
Rating:
4.86
(7)
Version:
4.5 Last updated: 2024-03-23
Version code:
5709897
Creation date:
2022-09-29
Risk:
High risk impact Moderate risk likelihood
Permissions:
  • declarativeNetRequestWithHostAccess
  • storage
  • tabs
  • unlimitedStorage
  • webRequest
  • webRequestBlocking
  • <all_urls>
Size:
1.69M
URLs:
Website
Full description:
See detailed description
Source:
Firefox Browser Add-ons
Updated:
13 hours ago

User reviews

Genius idea to let developers simply use code to mock responses. Way more powerful than all the other request interception extensions.
by Al*****, 2025-02-15

Was looking for something like this for Android, thank you. Works great
by sa*****, 2024-10-12
View all user reviews ›

Extension safety

Risk impact

WebRequest Rules requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk impact analysis details
  • Critical Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
  • Critical ****** ****** ** *** ********* ****** * *********** ******** **** ** ** *** ******* *** ****** **** **** *** ******* *****
  • High ****** *** ********* ** ******* *** ******* ******* ** ****** *** *** ******** ******
Risk likelihood

WebRequest Rules is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details

Compare add-ons

Similar add-ons

Here are some Firefox add-ons that are similar to WebRequest Rules:

Popular extensions / apps

Here are some popular extensions / apps that you might be interested in: