Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Request RegEx Filter

Request RegEx Filter by Henry Lu

This Add-on will filter all HTTP requests (including requests for javascript files, images etc) based on the list of regular expressions the user provides. The addon works off of a Deny-list configured via the Options/Settings page for the Addon

4.6 (5 reviews)4.6 (5 reviews)
11 Users11 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
The options page for adding/removing regular expressions that will be used to blacklist web requests
About this extension
To configure this Add-on, Open the Add-ons/Extensions page of your browser or type "about:addons" in the address bar in Firefox.

Click on "Options" for the Request RegEx Filter add-on.

Then you can add or remove from the list of Regular Expressions that will denylist the http request.

For more details on how to write a regular expression, here are some resources:
  • Regular Expression 101
  • Mozilla Developer Documentation - Regular Expression

For Example:
Add the following regular expression to the denylist
  • http(s)?:\/\/ads[.]
and it will block all requests to websites that start with "ads." on http or https. this means any requests to get javascript or other content from http://ads.example.com
would be blocked.

This regex is purely for demonstration purposes. The above Regular Expression has the limitation that any website starting with "ads." would be blocked. So if you legitimately want to be visiting a site with a domain name prefixed with "ads." you would avoid using this regex.
Expand to Read more
Rated 4.6 by 5 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
4
4
0
3
1
2
0
1
0
Read all 5 reviews
Permissions and dataLearn more

Required permissions:

  • Access your data for all web sites
More information
Add-on Links
  • Support site
Version
1.1resigned1
Size
10.16 kB
Last updated
a year ago (25 Apr 2024)
Related Categories
  • Download Management
  • Privacy & Security
  • Other
Licence
MIT Licence
Version History
  • See all versions
Add to collection
Report this add-on
Other popular extensions
  • Dark Reader

    Dark Reader
    RecommendedRecommended

    Rated 4.5 out of 5

    Dark Reader Ltd

    1,234,826 users

  • Grammar and Spell Checker - LanguageTool

    Grammar and Spell Checker - LanguageTool
    RecommendedRecommended

    Rated 4.7 out of 5

    LanguageTooler GmbH

    371,323 users

  • Search by Image

    Search by Image
    RecommendedRecommended

    Rated 4.6 out of 5

    Armin Sebastian

    408,602 users

  • Tree Style Tab

    Tree Style Tab
    RecommendedRecommended

    Rated 4.5 out of 5

    Piro (piro_or)

    181,542 users

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.